diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-10-26 01:34:44 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-10-26 01:34:44 +0200 |
commit | 7139c921dce9249264cc6fab911704ca591f3409 (patch) | |
tree | e94111f9c1e92aa5bd1c9402d247451dfcf97ae2 /src | |
parent | dfc5c52ad3715162a22540338d30f7f0ebd8c54c (diff) |
C locale
Diffstat (limited to 'src')
-rw-r--r-- | src/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index bac92a4..3d94cd2 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -157,6 +157,8 @@ static const mgl_monitor* find_monitor_by_cursor_position(mgl::Window &window) { } int main(int argc, char **argv) { + setlocale(LC_ALL, "C"); // Sigh... stupid C + std::string resources_path; if(access("images/stream.png", F_OK) == 0) { resources_path = "./"; |