From d98a0fede6f9d151f48c89d438735dc537f196e9 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Fri, 25 Feb 2011 09:15:57 +0000 Subject: 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 --- src/Fl_x.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/Fl_x.cxx b/src/Fl_x.cxx index 9215b2256..a0e64744a 100644 --- a/src/Fl_x.cxx +++ b/src/Fl_x.cxx @@ -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; } -- cgit v1.2.3