diff options
-rw-r--r-- | test cases/windows/5 resources/prog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test cases/windows/5 resources/prog.c b/test cases/windows/5 resources/prog.c index 2c6f153..2bef6a2 100644 --- a/test cases/windows/5 resources/prog.c +++ b/test cases/windows/5 resources/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; } |