1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-12-22 23:50:00 +00:00

iii icon fix

This commit is contained in:
Fire-Head 2021-02-13 01:35:48 +03:00
parent 2ce946584e
commit 291cdd4bfb

View file

@ -1330,7 +1330,11 @@ InitApplication(HANDLE instance)
windowClass.cbClsExtra = 0; windowClass.cbClsExtra = 0;
windowClass.cbWndExtra = 0; windowClass.cbWndExtra = 0;
windowClass.hInstance = (HINSTANCE)instance; windowClass.hInstance = (HINSTANCE)instance;
#ifdef FIX_BUGS
windowClass.hIcon = LoadIcon((HINSTANCE)instance, MAKEINTRESOURCE(IDI_MAIN_ICON));
#else
windowClass.hIcon = nil; windowClass.hIcon = nil;
#endif
windowClass.hCursor = LoadCursor(nil, IDC_ARROW); windowClass.hCursor = LoadCursor(nil, IDC_ARROW);
windowClass.hbrBackground = nil; windowClass.hbrBackground = nil;
windowClass.lpszMenuName = NULL; windowClass.lpszMenuName = NULL;