summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-10-01 07:04:11 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-10-01 07:04:11 +0000
commitde0ab101451106198302bcededa7b562b511a124 (patch)
treeb6b2fd8554442c8ed1f5fe3cb3b55aea744e7068 /src
parent26d84e25ab6418936cef456a490cc4627fe85036 (diff)
downloadirssi-de0ab101451106198302bcededa7b562b511a124.zip
/SET translation was broken - fixed by lam@e-gate.pl.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1815 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r--src/fe-common/core/translation.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-common/core/translation.c b/src/fe-common/core/translation.c
index a4828117..c674b9a2 100644
--- a/src/fe-common/core/translation.c
+++ b/src/fe-common/core/translation.c
@@ -126,7 +126,7 @@ static void read_settings(void)
return;
}
- if (current_translation != NULL &&
+ if (current_translation == NULL ||
strcmp(translation, current_translation) != 0) {
g_free_not_null(current_translation);
current_translation = g_strdup(translation);