Author: AlbrechtS
Date: 2011-02-25 01:15:57 -0800 (Fri, 25 Feb 2011)
New Revision: 8473
Log:
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.


Modified:
   branches/branch-1.3/src/Fl_x.cxx

Modified: branches/branch-1.3/src/Fl_x.cxx
===================================================================
--- branches/branch-1.3/src/Fl_x.cxx    2011-02-25 08:44:47 UTC (rev 8472)
+++ branches/branch-1.3/src/Fl_x.cxx    2011-02-25 09:15:57 UTC (rev 8473)
@@ -549,7 +549,7 @@
     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 @@
   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 @@
      return;
   }
   if (!fl_xim_ic) {
-    Fl::warning("XCreateIC() failed\n");
+    Fl::warning("XCreateIC() failed");
     XCloseIM(fl_xim_im);
     fl_xim_im = NULL;
   }

_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to