diff options
author | bartus | 2017-01-06 23:54:26 +0100 |
---|---|---|
committer | bartus | 2017-01-06 23:54:26 +0100 |
commit | 9e3e6c1858f99760315189f0940742b710dbeef4 (patch) | |
tree | f62ae40ad78994cf108f61927dd4425c5d63160c /fix_locale.patch | |
parent | 60fe040820a4eb4fa6376fb595c64c09ef32b7a7 (diff) | |
download | aur-9e3e6c1858f99760315189f0940742b710dbeef4.tar.gz |
update to v2016.12
Diffstat (limited to 'fix_locale.patch')
-rw-r--r-- | fix_locale.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/fix_locale.patch b/fix_locale.patch new file mode 100644 index 000000000000..343507d497b8 --- /dev/null +++ b/fix_locale.patch @@ -0,0 +1,19 @@ +diff -Naur meshlab.orig/src/meshlab/main.cpp meshlab/src/meshlab/main.cpp +--- meshlab.orig/src/meshlab/main.cpp 2016-10-30 19:47:18.130692500 +0100 ++++ meshlab/src/meshlab/main.cpp 2016-10-30 19:49:14.529497595 +0100 +@@ -20,6 +20,7 @@ + * for more details. * + * * + ****************************************************************************/ ++#include <locale.h> + #include <common/mlapplication.h> + #include <QMessageBox> + #include "mainwindow.h" +@@ -29,6 +30,7 @@ + { + + MeshLabApplication app(argc, argv); ++ setlocale(LC_ALL, "C"); + QLocale::setDefault(QLocale::C); + QCoreApplication::setOrganizationName(MeshLabApplication::organization()); + #if QT_VERSION >= 0x050100 |