src/video/wincommon/SDL_syswm.c
changeset 1481 deb22b9fe970
parent 1465 8dfa9a6d69a5
child 1505 4d005dfbb7f5
--- a/src/video/wincommon/SDL_syswm.c	Tue Mar 07 05:21:32 2006 +0000
+++ b/src/video/wincommon/SDL_syswm.c	Tue Mar 07 16:02:59 2006 +0000
@@ -220,7 +220,7 @@
 	if ( screen_icn == NULL ) {
 		SDL_SetError("Couldn't create Win32 icon handle");
 	} else {
-		SetClassLongPtr(SDL_Window, GCL_HICON, (LONG_PTR)screen_icn);
+		SetClassLongPtr(SDL_Window, GCLP_HICON, (LONG_PTR)screen_icn);
 	}
 	SDL_stack_free(icon_win32);
 #endif /* DISABLE_ICON_SUPPORT */