summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/common/xchat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/xchat.c b/src/common/xchat.c
index 5a0a7fa9..ad82e16d 100644
--- a/src/common/xchat.c
+++ b/src/common/xchat.c
@@ -960,8 +960,9 @@ main (int argc, char *argv[])
 	load_config ();
 
 #ifdef WIN32
-	/* we MUST do this after load_config () otherwise it would fail */
+	/* we MUST do this after load_config () AND before fe_init (thus gtk_init) otherwise it will fail */
 	strcpy (hexchat_lang, "LC_ALL=");
+
 	switch (prefs.gui_lang)
 	{
 		case 0: