aboutsummaryrefslogtreecommitdiff
path: root/src/Theme.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-10-16 21:22:40 +0200
committerdec05eba <dec05eba@protonmail.com>2021-10-16 21:22:40 +0200
commit5ba091235fef86fda675021812eb7559241c1b80 (patch)
tree6c85de6dd29b6ba2bc2ca5f88c518a9001d6d0a4 /src/Theme.cpp
parent8574d6c7da09f5d5929df8ff8c35cb4d82389459 (diff)
Allow setting video max height in config
Diffstat (limited to 'src/Theme.cpp')
-rw-r--r--src/Theme.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Theme.cpp b/src/Theme.cpp
index c0702d1..90e4b30 100644
--- a/src/Theme.cpp
+++ b/src/Theme.cpp
@@ -80,6 +80,7 @@ namespace QuickMedia {
if(theme_initialized)
return;
+ setlocale(LC_ALL, "C"); // Sigh... stupid C
theme_initialized = true;
// Wtf? can't use static non-pointer config because it causes a segfault.
// It looks like a libc bug??? crashes for both gcc and clang.