diff options
Diffstat (limited to 'intern/ghost/intern/GHOST_SystemWin32.cpp')
-rw-r--r-- | intern/ghost/intern/GHOST_SystemWin32.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/intern/ghost/intern/GHOST_SystemWin32.cpp b/intern/ghost/intern/GHOST_SystemWin32.cpp index 1db695d8107..b11dd7b3cc8 100644 --- a/intern/ghost/intern/GHOST_SystemWin32.cpp +++ b/intern/ghost/intern/GHOST_SystemWin32.cpp @@ -317,11 +317,8 @@ GHOST_TSuccess GHOST_SystemWin32::init() wc.cbClsExtra= 0; wc.cbWndExtra= 0; wc.hInstance= ::GetModuleHandle(0); - #ifndef FREE_WINDOWS wc.hIcon = ::LoadIcon(wc.hInstance, "APPICON"); - #else - wc.hIcon = ::LoadIcon(NULL, "APPICON"); - #endif + if (!wc.hIcon) { ::LoadIcon(NULL, IDI_APPLICATION); } |