From bff40ba97ad69581bde29f0a355a35825d38c34f Mon Sep 17 00:00:00 2001 From: laikh Date: Thu, 16 Apr 2020 11:35:55 +0800 Subject: [PATCH] Use GCLP_HICON instead of GCL_HICON for 64-bit Windows compatibility --- src/sdlscreen.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sdlscreen.c b/src/sdlscreen.c index d2366e8e..e07d7c98 100644 --- a/src/sdlscreen.c +++ b/src/sdlscreen.c @@ -685,7 +685,7 @@ void Define_icon(void) break; // Set it - SetClassLongPtr(GFX2_Get_Window_Handle(), GCL_HICONSM, (LONG_PTR)hicon); + SetClassLongPtr(GFX2_Get_Window_Handle(), GCLP_HICONSM, (LONG_PTR)hicon); // @@ -721,7 +721,7 @@ void Define_icon(void) break; // Set it - SetClassLongPtr(GFX2_Get_Window_Handle(), GCL_HICON, (LONG_PTR)hicon); + SetClassLongPtr(GFX2_Get_Window_Handle(), GCLP_HICON, (LONG_PTR)hicon); // Success