summaryrefslogtreecommitdiff
blob: 9c28a161d81faa412af865bedd96ee465558c378 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- xchatosd.cpp.orig	2005-02-17 03:46:17.792283275 +0100
+++ xchatosd.cpp	2005-02-17 03:46:27.179969269 +0100
@@ -239,9 +239,11 @@
 		delete osd;
 		osd = NULL;
 		XOSD_init();
+#ifdef ICONV_LIB
 		if(status && cmd2 == "codepage") {
 		    ICONV_init();
 		}
+#endif
 		if (status == 1) {
 			string msg;
 			msg = MSG_Success1 + cmd2 + MSG_Success2 + cmd3 + "\n";