Skip to content

Commit

Permalink
Fix OMNotebook locale settings
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@25731 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Apr 24, 2015
1 parent 6a15f12 commit 4fa3765
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions OMNotebook/OMNotebookGUI/cellapplication.cpp
Expand Up @@ -103,6 +103,9 @@ namespace IAEX
//Create a commandCenter.
cmdCenter_ = new CellCommandCenter(this);

/* Force C-style doubles */
setlocale(LC_NUMERIC, "C");

// 2006-04-10 AF, use environment variable to find xml files
QString openmodelica = OmcInteractiveEnvironment::OpenModelicaHome();

Expand Down
1 change: 1 addition & 0 deletions OMNotebook/OMNotebookGUI/qtapp.cpp
Expand Up @@ -57,6 +57,7 @@
#endif

#include "meta/meta_modelica.h"
#include <locale.h>

using namespace std;
using namespace IAEX;
Expand Down

0 comments on commit 4fa3765

Please sign in to comment.