From 11333f8d324158e16a3f23075fefa91b0297075b Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Wed, 23 Nov 2005 19:25:19 +0000 Subject: [PATCH] fix app window icon not applied in XP 2600. --- stepmania/src/archutils/Win32/GraphicsWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/archutils/Win32/GraphicsWindow.cpp b/stepmania/src/archutils/Win32/GraphicsWindow.cpp index 92de35606c..523d2b5c02 100644 --- a/stepmania/src/archutils/Win32/GraphicsWindow.cpp +++ b/stepmania/src/archutils/Win32/GraphicsWindow.cpp @@ -266,7 +266,7 @@ void GraphicsWindow::ConfigureGraphicsWindow( const VideoModeParams &p ) /* Update the window icon. */ if( g_hIcon != NULL ) { - SetClassLong( g_hWndMain, GCL_HICON, (LONG) NULL ); + SetClassLong( g_hWndMain, GCL_HICON, (LONG) LoadIcon(NULL,IDI_APPLICATION) ); DestroyIcon( g_hIcon ); g_hIcon = NULL; }