summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFire-Head <Fire-Head@users.noreply.github.com>2021-02-13 01:35:48 +0300
committerFire-Head <Fire-Head@users.noreply.github.com>2021-02-13 01:35:48 +0300
commit291cdd4bfbd595f83ef711aef549c453d3cf64f7 (patch)
treeb16c1d85f0d6252b68c1c58aa474890e0385ea6d /src
parent2ce946584e8c9584a7674a095521269b1bc5f40c (diff)
iii icon fix
Diffstat (limited to 'src')
-rw-r--r--src/skel/win/win.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/skel/win/win.cpp b/src/skel/win/win.cpp
index 7317356c..86b0b214 100644
--- a/src/skel/win/win.cpp
+++ b/src/skel/win/win.cpp
@@ -1330,7 +1330,11 @@ InitApplication(HANDLE instance)
windowClass.cbClsExtra = 0;
windowClass.cbWndExtra = 0;
windowClass.hInstance = (HINSTANCE)instance;
+#ifdef FIX_BUGS
+ windowClass.hIcon = LoadIcon((HINSTANCE)instance, MAKEINTRESOURCE(IDI_MAIN_ICON));
+#else
windowClass.hIcon = nil;
+#endif
windowClass.hCursor = LoadCursor(nil, IDC_ARROW);
windowClass.hbrBackground = nil;
windowClass.lpszMenuName = NULL;