From: Niki Roo Date: Tue, 30 Apr 2019 19:55:39 +0000 (+0200) Subject: Woopsie in getLang, thanks Hakan for finding it X-Git-Tag: fanfix-swing-0.0.1~12^2~105 X-Git-Url: https://git.nikiroo.be/?a=commitdiff_plain;h=f83510cf13d55c8700de01ee06ae752da1d102b4;p=fanfix-swing.git Woopsie in getLang, thanks Hakan for finding it --- diff --git a/src/be/nikiroo/fanfix/Instance.java b/src/be/nikiroo/fanfix/Instance.java index 24d67afb..b6849c27 100644 --- a/src/be/nikiroo/fanfix/Instance.java +++ b/src/be/nikiroo/fanfix/Instance.java @@ -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");