diff --git a/assets/resources/CSE2.rc b/assets/resources/CSE2.rc index b905e897..48848b9a 100644 --- a/assets/resources/CSE2.rc +++ b/assets/resources/CSE2.rc @@ -66,8 +66,8 @@ END // Icon with lowest ID value placed first to ensure application icon // remains consistent on all systems. -0 ICON "ICON/0.ico" -1 ICON "ICON/ICON_MINI.ico" +101 ICON "ICON/0.ico" +102 ICON "ICON/ICON_MINI.ico" #endif // Japanese resources ///////////////////////////////////////////////////////////////////////////// diff --git a/src/Main.cpp b/src/Main.cpp index fd49c785..5755e398 100644 --- a/src/Main.cpp +++ b/src/Main.cpp @@ -194,8 +194,8 @@ int main(int argc, char *argv[]) RECT unused_rect = {0, 0, WINDOW_WIDTH, WINDOW_HEIGHT}; #ifdef _WIN32 // On Windows, we use native icons instead (so we can give the taskbar and window separate icons, like the original EXE does) - SDL_SetHint(SDL_HINT_WINDOWS_INTRESOURCE_ICON, "0"); - SDL_SetHint(SDL_HINT_WINDOWS_INTRESOURCE_ICON_SMALL, "1"); + SDL_SetHint(SDL_HINT_WINDOWS_INTRESOURCE_ICON, "101"); + SDL_SetHint(SDL_HINT_WINDOWS_INTRESOURCE_ICON_SMALL, "102"); #endif SDL_InitSubSystem(SDL_INIT_VIDEO);