From 674d493c2de573fbf850cbfb233745272f6c1f75 Mon Sep 17 00:00:00 2001 From: Mygod Date: Thu, 13 Oct 2016 10:43:37 +0800 Subject: [PATCH] Refine #937 --- .../scala/com/github/shadowsocks/ShadowsocksApplication.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/scala/com/github/shadowsocks/ShadowsocksApplication.scala b/src/main/scala/com/github/shadowsocks/ShadowsocksApplication.scala index c13914f3..cc0bd613 100644 --- a/src/main/scala/com/github/shadowsocks/ShadowsocksApplication.scala +++ b/src/main/scala/com/github/shadowsocks/ShadowsocksApplication.scala @@ -146,7 +146,7 @@ class ShadowsocksApplication extends Application { } } else { val newLocale = checkChineseLocale(config.locale) - if (newLocale != null && config.locale != newLocale) { + if (newLocale != null) { val newConfig = new Configuration(config) newConfig.locale = newLocale val res = getResources