summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/windowmanager.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/gui/windowmanager.cpp b/src/gui/windowmanager.cpp
index 7d6f6ff6c..4f51ef525 100644
--- a/src/gui/windowmanager.cpp
+++ b/src/gui/windowmanager.cpp
@@ -388,9 +388,13 @@ void WindowManager::setIcon()
if (icon)
{
#ifdef WIN64
- SetClassLongPtr(pInfo.window, GCLP_HICON, reinterpret_cast<LONG_PTR>(icon));
+ SetClassLongPtr(pInfo.window,
+ GCLP_HICON,
+ reinterpret_cast<LONG_PTR>(icon));
#else // WIN64
- SetClassLong(pInfo.window, GCL_HICON, reinterpret_cast<LONG>(icon));
+ SetClassLong(pInfo.window,
+ GCL_HICON,
+ reinterpret_cast<LONG>(icon));
#endif // WIN64
}
#else // WIN32