aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 = "./";