From f83510cf13d55c8700de01ee06ae752da1d102b4 Mon Sep 17 00:00:00 2001 From: Niki Roo Date: Tue, 30 Apr 2019 21:55:39 +0200 Subject: [PATCH] Woopsie in getLang, thanks Hakan for finding it --- src/be/nikiroo/fanfix/Instance.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/be/nikiroo/fanfix/Instance.java b/src/be/nikiroo/fanfix/Instance.java index 24d67af..b6849c2 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"); -- 2.27.0