summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-05-03 12:39:34 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-05-03 12:39:34 -0500
commit7738169e0f5fb5fbc72c82b5dd420f6fe856b77a (patch)
treeaefa6329fd2fde3aa0f7b6c9c45c77123b594519
parenta24a8595fc6663038f6ce26cfed6276910eef984 (diff)
downloadkvirc-7738169e0f5fb5fbc72c82b5dd420f6fe856b77a.tar.gz
kvirc-7738169e0f5fb5fbc72c82b5dd420f6fe856b77a.zip
Fix 'format not a string literal' error
-rw-r--r--src/kvirc/kernel/kvi_main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kvirc/kernel/kvi_main.cpp b/src/kvirc/kernel/kvi_main.cpp
index 05fed67a..335ac6a9 100644
--- a/src/kvirc/kernel/kvi_main.cpp
+++ b/src/kvirc/kernel/kvi_main.cpp
@@ -83,7 +83,7 @@ int parseArgs(ParseArgs * a)
#ifdef COMPILE_ON_WINDOWS
MessageBox(0,szMessage.local8Bit().data(),"KVIrc",0);
#else
- debug(szMessage);
+ debug("%s", szMessage);
#endif
return KVI_ARGS_RETCODE_STOP;
@@ -131,7 +131,7 @@ int parseArgs(ParseArgs * a)
#ifdef COMPILE_ON_WINDOWS
MessageBox(0,szMessage.local8Bit().data(),"KVIrc",0);
#else
- debug(szMessage);
+ debug("%s", szMessage);
#endif
return KVI_ARGS_RETCODE_STOP;
}
@@ -385,7 +385,7 @@ int main(int argc,char ** argv)
if(a.bShowPopup)
TQMessageBox::information(0,"Session - KVIrc",tmp.ptr(),TQMessageBox::Ok);
else
- debug(tmp.ptr());
+ debug("%s", tmp.ptr());
}
delete theApp;
return 0;