From a10701f6ac670887e464cc5c9361d5f5a98e44e5 Mon Sep 17 00:00:00 2001 From: Kamil Hornicek Date: Sun, 31 May 2009 21:54:34 +0000 Subject: [PATCH] - driverName can be null, display info.DriverName instead svn path=/trunk/; revision=41230 --- reactos/dll/win32/opengl32/wgl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/dll/win32/opengl32/wgl.c b/reactos/dll/win32/opengl32/wgl.c index 9a6d3347176..9070195bd36 100644 --- a/reactos/dll/win32/opengl32/wgl.c +++ b/reactos/dll/win32/opengl32/wgl.c @@ -400,7 +400,7 @@ ROSGL_ICDForHDC( HDC hdc ) { 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);