From 5b8a445ac25c10535b7a24fde5f0b626ef2e0673 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Wed, 5 Jun 2013 10:01:46 +0300 Subject: [PATCH] Use mspio rather than iostreams for printing errors --- source/graphics/x11/display.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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: "<