diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2011-02-25 09:15:57 +0000 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2011-02-25 09:15:57 +0000 |
| commit | d98a0fede6f9d151f48c89d438735dc537f196e9 (patch) | |
| tree | ca0ba86c59d193ae3032c46078eab4246e5ec6a4 | |
| parent | 94e5f2e1fc5b9e6113e58c4bc494370e802f9783 (diff) | |
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
| -rw-r--r-- | src/Fl_x.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
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; } |
