From: Mikko Rasa Date: Thu, 17 Oct 2013 07:13:38 +0000 (+0300) Subject: Return true to indicate the error was handled X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=a0d4adec0fe25cb76c99b5ad3d98248215688c85;p=libs%2Fgui.git Return true to indicate the error was handled --- diff --git a/source/graphics/windows/errordialog.cpp b/source/graphics/windows/errordialog.cpp index 5215039..7ff4d25 100644 --- a/source/graphics/windows/errordialog.cpp +++ b/source/graphics/windows/errordialog.cpp @@ -12,7 +12,7 @@ bool ErrorDialog::report_uncaught_exception(const exception &e) const { string msg = Debug::demangle(typeid(e).name())+":\n"+e.what(); MessageBoxA(0, msg.c_str(), "Uncaught exception", MB_OK|MB_ICONERROR); - return false; + return true; } } // namespace Graphics