summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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;