mirror of
https://github.com/fltk/fltk.git
synced 2026-06-07 09:13:58 +08:00
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:
+3
-3
@@ -549,7 +549,7 @@ void fl_init_xim()
|
||||
XGetIMValues (fl_xim_im, XNQueryInputStyle,
|
||||
&xim_styles, NULL, NULL);
|
||||
} else {
|
||||
Fl::warning("XOpenIM() failed\n");
|
||||
Fl::warning("XOpenIM() failed");
|
||||
// if xim_styles is allocated, free it now
|
||||
if(xim_styles) XFree(xim_styles);
|
||||
return;
|
||||
@@ -558,7 +558,7 @@ void fl_init_xim()
|
||||
if (xim_styles && xim_styles->count_styles) {
|
||||
fl_new_ic();
|
||||
} else {
|
||||
Fl::warning("No XIM style found\n");
|
||||
Fl::warning("No XIM style found");
|
||||
XCloseIM(fl_xim_im);
|
||||
fl_xim_im = NULL;
|
||||
// if xim_styles is allocated, free it now
|
||||
@@ -566,7 +566,7 @@ void fl_init_xim()
|
||||
return;
|
||||
}
|
||||
if (!fl_xim_ic) {
|
||||
Fl::warning("XCreateIC() failed\n");
|
||||
Fl::warning("XCreateIC() failed");
|
||||
XCloseIM(fl_xim_im);
|
||||
fl_xim_im = NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user