diff options
author | Andrei Alexeyev <0x416b617269@gmail.com> | 2018-01-12 23:40:11 +0200 |
---|---|---|
committer | Andrei Alexeyev <0x416b617269@gmail.com> | 2018-01-12 23:40:11 +0200 |
commit | 46f5d7a31c122809096183a1ead210f6b4f8b18f (patch) | |
tree | 9a82854c2dc6f9cafa6cf983f802db594d1d005a | |
parent | f8bd1c5ff26bbb6b88dedcb400a33841201bf4eb (diff) | |
download | meson-46f5d7a31c122809096183a1ead210f6b4f8b18f.zip meson-46f5d7a31c122809096183a1ead210f6b4f8b18f.tar.gz meson-46f5d7a31c122809096183a1ead210f6b4f8b18f.tar.bz2 |
Fix test cases/windows/13 resources with custom targets
Analogous to #2851
-rw-r--r-- | test cases/windows/13 resources with custom targets/prog.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |