aboutsummaryrefslogtreecommitdiff
path: root/pugl_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'pugl_test.c')
-rw-r--r--pugl_test.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/pugl_test.c b/pugl_test.c
index 942b725..698299b 100644
--- a/pugl_test.c
+++ b/pugl_test.c
@@ -18,6 +18,7 @@
@file pugl_test.c A simple Pugl test that creates a top-level window.
*/
+#include <locale.h>
#include <math.h>
#include <stdio.h>
#include <string.h>
@@ -217,6 +218,8 @@ main(int argc, char** argv)
}
}
+ setlocale(LC_CTYPE, "");
+
PuglView* view = puglInit(NULL, NULL);
puglInitWindowClass(view, "PuglTest");
puglInitWindowSize(view, 512, 512);