diff options
-rw-r--r-- | src/hdfsee.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/hdfsee.c b/src/hdfsee.c index 6b4d0bf0..df0bd281 100644 --- a/src/hdfsee.c +++ b/src/hdfsee.c @@ -144,6 +144,13 @@ int main(int argc, char *argv[]) {0, 0, NULL, 0} }; + /* This isn't great, but necessary to make the command-line UI and file + * formats consistent with the other programs, which all use the C + * locale. Better would be to have all the programs call + * setlocale(LC_ALL, "") and use the C locale temporarily when reading + * or writing a stream, reflection file, geometry file etc. */ + gtk_disable_setlocale(); + gtk_init(&argc, &argv); /* Short options */ |