Skip to content
Snippets Groups Projects
Commit 6e09f111 authored by Joseph Mirabel's avatar Joseph Mirabel Committed by Joseph Mirabel
Browse files

Set LC_NUMERIC to C by default.

parent bbc0ac51
No related branches found
No related tags found
No related merge requests found
......@@ -56,6 +56,10 @@ int main(int argc, char *argv[])
setupApplication();
// Set numeric locale to C so as not to disturb other libraries (like collada
// dom) relying on sscanf (locale dependant) to convert string to double.
setlocale(LC_NUMERIC, "C");
Settings settings ("@CMAKE_INSTALL_PREFIX@");
settings.setupPaths ();
switch (settings.fromArgv (argc, argv)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment