Fix 'format not a string literal' error

pull/1/head
Timothy Pearson 12 years ago
parent a24a8595fc
commit 7738169e0f

@ -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;

Loading…
Cancel
Save