From 3a150e29cd1fa63614f45dff01240b01f9c4a025 Mon Sep 17 00:00:00 2001
From: dec05eba <dec05eba@protonmail.com>
Date: Mon, 24 May 2021 09:51:52 +0200
Subject: force c locale, remove need for sudo in install script

---
 src/main.cpp | 1 +
 1 file changed, 1 insertion(+)

(limited to 'src')

diff --git a/src/main.cpp b/src/main.cpp
index 4690668..713514d 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1485,6 +1485,7 @@ int main(int argc, const _tinydir_char_t **argv)
 int wmain(int argc, const _tinydir_char_t **argv)
 #endif
 {
+    setlocale(LC_ALL, "C"); // Sigh... stupid C
     unordered_map<string, string> param;
     unordered_set<string> flags;
 
-- 
cgit v1.2.3-70-g09d2