From: Mikko Rasa Date: Wed, 5 Jun 2013 07:01:46 +0000 (+0300) Subject: Use mspio rather than iostreams for printing errors X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=5b8a445ac25c10535b7a24fde5f0b626ef2e0673;p=libs%2Fgui.git Use mspio rather than iostreams for printing errors --- diff --git a/source/graphics/x11/display.cpp b/source/graphics/x11/display.cpp index 0e89794..b68f9bd 100644 --- a/source/graphics/x11/display.cpp +++ b/source/graphics/x11/display.cpp @@ -3,6 +3,7 @@ #ifdef WITH_XF86VIDMODE #include #endif +#include #include #include #include "display.h" @@ -26,10 +27,10 @@ int x_error_handler(Display *display, XErrorEvent *event) string msg = Msp::format("Request %s failed with %s [%08X]", req, err, event->resourceid); if(error_flag) - cerr<<"Discarding error: "<