Removed extraneous '\n' from Fl::warning() calls in src/Fl_x.cxx.
Note: '\n' is added in the default Fl::warning() handler function and should not be in the format string. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8473 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
94e5f2e1fc
commit
d98a0fede6
@ -549,7 +549,7 @@ void fl_init_xim()
|
|||||||
XGetIMValues (fl_xim_im, XNQueryInputStyle,
|
XGetIMValues (fl_xim_im, XNQueryInputStyle,
|
||||||
&xim_styles, NULL, NULL);
|
&xim_styles, NULL, NULL);
|
||||||
} else {
|
} else {
|
||||||
Fl::warning("XOpenIM() failed\n");
|
Fl::warning("XOpenIM() failed");
|
||||||
// if xim_styles is allocated, free it now
|
// if xim_styles is allocated, free it now
|
||||||
if(xim_styles) XFree(xim_styles);
|
if(xim_styles) XFree(xim_styles);
|
||||||
return;
|
return;
|
||||||
@ -558,7 +558,7 @@ void fl_init_xim()
|
|||||||
if (xim_styles && xim_styles->count_styles) {
|
if (xim_styles && xim_styles->count_styles) {
|
||||||
fl_new_ic();
|
fl_new_ic();
|
||||||
} else {
|
} else {
|
||||||
Fl::warning("No XIM style found\n");
|
Fl::warning("No XIM style found");
|
||||||
XCloseIM(fl_xim_im);
|
XCloseIM(fl_xim_im);
|
||||||
fl_xim_im = NULL;
|
fl_xim_im = NULL;
|
||||||
// if xim_styles is allocated, free it now
|
// if xim_styles is allocated, free it now
|
||||||
@ -566,7 +566,7 @@ void fl_init_xim()
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (!fl_xim_ic) {
|
if (!fl_xim_ic) {
|
||||||
Fl::warning("XCreateIC() failed\n");
|
Fl::warning("XCreateIC() failed");
|
||||||
XCloseIM(fl_xim_im);
|
XCloseIM(fl_xim_im);
|
||||||
fl_xim_im = NULL;
|
fl_xim_im = NULL;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user