Woopsie in getLang, thanks Hakan for finding it
authorNiki Roo <niki@nikiroo.be>
Tue, 30 Apr 2019 19:55:39 +0000 (21:55 +0200)
committerNiki Roo <niki@nikiroo.be>
Tue, 30 Apr 2019 19:55:39 +0000 (21:55 +0200)
src/be/nikiroo/fanfix/Instance.java

index 24d67afb88cf0c98c551b8f1c6cdd82f3252f6ab..b6849c279dd298f3b1d1f139367c613a87d9c980 100644 (file)
@@ -549,7 +549,7 @@ public class Instance {
        private static String getLang() {
                String lang = config.getString(Config.LANG);
 
-               if (lang == null | lang.isEmpty()) {
+               if (lang == null || lang.isEmpty()) {
                        if (System.getenv("LANG") != null
                                        && !System.getenv("LANG").isEmpty()) {
                                lang = System.getenv("LANG");