Skip to content

Commit

Permalink
Bugfix: Due to locale settings output of decimal points was sometimes…
Browse files Browse the repository at this point in the history
… , instead of .

The plugin now sets locale POSIX on start, to avoid having to deal with a different locale.
  • Loading branch information
adiesner committed Jul 3, 2013
1 parent 5f87c64 commit f9e0285
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main.cpp
Expand Up @@ -1982,6 +1982,8 @@ static NPError nevv(NPMIMEType pluginType, NPP instance, uint16_t mode, int16_t

npnfuncs->releaseobject(windowObject);

setlocale(LC_ALL, "POSIX");

return NPERR_NO_ERROR;
}

Expand Down

0 comments on commit f9e0285

Please sign in to comment.