From 1337908369766e491376d50a73419cb58ac76eb6 Mon Sep 17 00:00:00 2001 From: Nimetu Date: Sat, 7 Mar 2020 11:27:00 +0200 Subject: [PATCH] Changed: systemMessageBox on linux/macOS to non-blocking, log only --- code/nel/src/3d/driver/opengl/driver_opengl_window.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/code/nel/src/3d/driver/opengl/driver_opengl_window.cpp b/code/nel/src/3d/driver/opengl/driver_opengl_window.cpp index de330117c..2ab5a3aba 100644 --- a/code/nel/src/3d/driver/opengl/driver_opengl_window.cpp +++ b/code/nel/src/3d/driver/opengl/driver_opengl_window.cpp @@ -2681,8 +2681,11 @@ IDriver::TMessageBoxId CDriverGL::systemMessageBox (const char* message, const c } nlstop; #else // NL_OS_WINDOWS - // Call the console version! - IDriver::systemMessageBox (message, title, type, icon); + // TODO: if user did not launch from console, then program "freezes" without explanation or possibility to continue + //IDriver::systemMessageBox (message, title, type, icon); + // log only + printf("%s:%s\n", title, message); + nlwarning("%s: %s", title, message); #endif // NL_OS_WINDOWS return okId; }