From 7139c921dce9249264cc6fab911704ca591f3409 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 26 Oct 2024 01:34:44 +0200 Subject: C locale --- src/main.cpp | 2 ++ 1 file changed, 2 insertions(+) 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 = "./"; -- cgit v1.2.3