Skip to content

Commit

Permalink
Fix test cases/windows/13 resources with custom targets
Browse files Browse the repository at this point in the history
Analogous to mesonbuild#2851
  • Loading branch information
Akaricchi committed Jan 12, 2018
1 parent f8bd1c5 commit 46f5d7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test cases/windows/13 resources with custom targets/prog.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit 46f5d7a

Please sign in to comment.