aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-05-24 09:51:52 +0200
committerdec05eba <dec05eba@protonmail.com>2021-05-24 09:51:52 +0200
commit3a150e29cd1fa63614f45dff01240b01f9c4a025 (patch)
tree4e68947e478d32c43628a000ce70fb10c3597081 /src
parenta2ae77a4549e944d4aadac425da2bf2cc0b0cf1c (diff)
force c locale, remove need for sudo in install script
Diffstat (limited to 'src')
-rw-r--r--src/main.cpp1
1 files changed, 1 insertions, 0 deletions
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;