* -DQT_NO_ASCII_CAST

* using local8Bit() when printing i18n()ed messages to stderr.

svn path=/trunk/kdebase/kwin/; revision=55634
This commit is contained in:
Hans Petter Bieker 2000-07-06 16:48:13 +00:00
parent 797a25747c
commit 120e8a0e4b
2 changed files with 4 additions and 2 deletions

View file

@ -1,4 +1,6 @@
AM_CPPFLAGS = -DQT_NO_ASCII_CAST
INCLUDES = $(all_includes)
SUBDIRS = . pics clients

View file

@ -59,7 +59,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"));
fprintf(stderr, i18n("kwin: it looks like there's already a window manager running. kwin not started").local8Bit());
exit(1);
}
@ -73,7 +73,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 initialisation; aborting\n"));
fprintf(stderr, i18n("kwin: failure during initialisation; aborting").local8Bit());
exit(1);
}
return 0;