mirror of
https://github.com/glfw/glfw.git
synced 2024-11-10 00:51:47 +00:00
Restored events locale setting for output.
This commit is contained in:
parent
b2030f6d73
commit
a611144d0c
@ -37,6 +37,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
#include <string.h>
|
||||
#include <locale.h>
|
||||
|
||||
#include "getopt.h"
|
||||
|
||||
@ -442,6 +443,8 @@ int main(int argc, char** argv)
|
||||
GLFWmonitor* monitor = NULL;
|
||||
int ch, i, width, height, count = 1;
|
||||
|
||||
setlocale(LC_ALL, "");
|
||||
|
||||
glfwSetErrorCallback(error_callback);
|
||||
|
||||
if (!glfwInit())
|
||||
|
Loading…
Reference in New Issue
Block a user