Commit: 0b422900c879226fbab4ac55b2071480e7de5d3c
Author: Bastien Montagne
Date:   Tue Nov 24 15:11:28 2015 +0100
Branches: master
https://developer.blender.org/rB0b422900c879226fbab4ac55b2071480e7de5d3c

Fix broken windows 'MessageBox' calls (UI messages).

Reported by Bzzt_Ploink on IRC.

===================================================================

M       intern/ghost/intern/GHOST_ContextWGL.cpp

===================================================================

diff --git a/intern/ghost/intern/GHOST_ContextWGL.cpp 
b/intern/ghost/intern/GHOST_ContextWGL.cpp
index ee0a1cd..45b67cb 100644
--- a/intern/ghost/intern/GHOST_ContextWGL.cpp
+++ b/intern/ghost/intern/GHOST_ContextWGL.cpp
@@ -927,14 +927,14 @@ GHOST_TSuccess 
GHOST_ContextWGL::initializeDrawingContext()
                                   "  Blender needs a graphics card driver to 
work correctly.\n"
                                   "* Accessing Blender through a remote 
connection.\n"
                                   "* Using Blender through a virtual 
machine.\n\n",
-                                  "The program will now close\n"
-                                  "Blender - Can't detect 3D hardware 
accelerated Driver!", MB_OK | MB_ICONERROR);
+                                  "The program will now close Blender - Can't 
detect 3D hardware accelerated Driver!",
+                          MB_OK | MB_ICONERROR);
                exit(0);
        }
        else if (version[0] < '2' || (version[0] == '2' && version[2] < '1')) {
-               MessageBox(m_hWnd, "Blender requires a graphics driver with 
OpenGL 2.1 support\n"
-                                  "The program will now close\n",
-                                  "Blender - Unsupported Graphics Driver!", 
MB_OK | MB_ICONERROR);
+               MessageBox(m_hWnd, "Blender requires a graphics driver with 
OpenGL 2.1 support\n",
+                                  "The program will now close Blender - 
Unsupported Graphics Driver!",
+                          MB_OK | MB_ICONERROR);
                exit(0);
        }

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to