don't interpret format strings
svn path=/trunk/kdebase/kwin/; revision=199217
This commit is contained in:
parent
c72c64e4f3
commit
e3d4b7625c
2 changed files with 4 additions and 4 deletions
4
main.cpp
4
main.cpp
|
@ -66,7 +66,7 @@ int x11ErrorHandler(Display *d, XErrorEvent *e){
|
|||
|| e->request_code == X_GrabKey
|
||||
)
|
||||
&& (e->error_code == BadAccess)) {
|
||||
fprintf(stderr, i18n("kwin: it looks like there's already a window manager running. kwin not started.\n").local8Bit());
|
||||
fputs(i18n("kwin: it looks like there's already a window manager running. kwin not started.\n").local8Bit(), stderr);
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
@ -80,7 +80,7 @@ int x11ErrorHandler(Display *d, XErrorEvent *e){
|
|||
fprintf(stderr, "kwin: %s(0x%lx): %s\n", req, e->resourceid, msg);
|
||||
|
||||
if (initting) {
|
||||
fprintf(stderr, i18n("kwin: failure during initialization; aborting").local8Bit());
|
||||
fputs(i18n("kwin: failure during initialization; aborting").local8Bit(), stderr);
|
||||
exit(1);
|
||||
}
|
||||
return 0;
|
||||
|
|
|
@ -158,8 +158,8 @@ bool PluginMgr::loadPlugin(QString nameStr)
|
|||
|
||||
void PluginMgr::shutdownKWin(const QString &error_msg)
|
||||
{
|
||||
qWarning( (i18n("KWin: ") + error_msg +
|
||||
i18n("\nKWin will now exit...")).latin1() );
|
||||
qWarning( "%s", (i18n("KWin: ") + error_msg +
|
||||
i18n("\nKWin will now exit...")).latin1() );
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue