Restored events locale setting for output.

This commit is contained in:
Camilla Berglund 2014-12-18 03:33:13 +01:00
parent b2030f6d73
commit a611144d0c

View File

@ -37,6 +37,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <ctype.h> #include <ctype.h>
#include <string.h> #include <string.h>
#include <locale.h>
#include "getopt.h" #include "getopt.h"
@ -442,6 +443,8 @@ int main(int argc, char** argv)
GLFWmonitor* monitor = NULL; GLFWmonitor* monitor = NULL;
int ch, i, width, height, count = 1; int ch, i, width, height, count = 1;
setlocale(LC_ALL, "");
glfwSetErrorCallback(error_callback); glfwSetErrorCallback(error_callback);
if (!glfwInit()) if (!glfwInit())