Skip to content

Commit

Permalink
Force C locale for the entire script
Browse files Browse the repository at this point in the history
This has the advantage that it doesn't matter anymore which locale the
users OS has. This fixes issues where the delimiter in numbers is
sometimes a comma and otherwise a point.
  • Loading branch information
DenkBrettl committed Oct 21, 2020
1 parent 75f92c1 commit dc15e70
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plasmac.scpost
Expand Up @@ -20,6 +20,7 @@ noArcs = 0 -- set to 1 to convert arcs to line segments

revNum = 'F'
revDate = 'May 15 2020'
assert(os.setlocale('C'))

if cParms == 1 then
post.DefineCustomToolParam('PlasmaTool', 'Puddle jump height', 'pjHeight', sc.unit1DECPLACE, 0, 0, 200)
Expand Down

0 comments on commit dc15e70

Please sign in to comment.