aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-10-26 01:34:44 +0200
committerdec05eba <dec05eba@protonmail.com>2024-10-26 01:34:44 +0200
commit7139c921dce9249264cc6fab911704ca591f3409 (patch)
treee94111f9c1e92aa5bd1c9402d247451dfcf97ae2 /src/main.cpp
parentdfc5c52ad3715162a22540338d30f7f0ebd8c54c (diff)
C locale
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
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 = "./";