From 46f5d7a31c122809096183a1ead210f6b4f8b18f Mon Sep 17 00:00:00 2001 From: Andrei Alexeyev <0x416b617269@gmail.com> Date: Fri, 12 Jan 2018 23:40:11 +0200 Subject: Fix test cases/windows/13 resources with custom targets Analogous to #2851 --- test cases/windows/13 resources with custom targets/prog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test cases/windows/13 resources with custom targets/prog.c b/test cases/windows/13 resources with custom targets/prog.c index 2c6f153..2bef6a2 100644 --- a/test cases/windows/13 resources with custom targets/prog.c +++ b/test cases/windows/13 resources with custom targets/prog.c @@ -9,6 +9,6 @@ WinMain( LPSTR lpszCmdLine, int nCmdShow) { HICON hIcon; - hIcon = LoadIcon(NULL, IDI_APPLICATION); + hIcon = LoadIcon(GetModuleHandle(NULL), MAKEINTRESOURCE(MY_ICON)); return hIcon ? 0 : 1; } -- cgit v1.1