Author: khornicek
Date: Mon Jun 1 01:54:34 2009
New Revision: 41230
URL:
http://svn.reactos.org/svn/reactos?rev=41230&view=rev
Log:
- driverName can be null, display info.DriverName instead
Modified:
trunk/reactos/dll/win32/opengl32/wgl.c
Modified: trunk/reactos/dll/win32/opengl32/wgl.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/opengl32/wgl.c?r…
==============================================================================
--- trunk/reactos/dll/win32/opengl32/wgl.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/opengl32/wgl.c [iso-8859-1] Mon Jun 1 01:54:34 2009
@@ -400,7 +400,7 @@
{
WCHAR Buffer[256];
snwprintf(Buffer, sizeof(Buffer)/sizeof(WCHAR),
- L"Couldn't load driver \"%s\".",
driverName);
+ L"Couldn't load driver \"%s\".",
info.DriverName);
MessageBox(WindowFromDC( hdc ), Buffer,
L"OPENGL32.dll: Warning",
MB_OK | MB_ICONWARNING);