summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/warning.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/TabSRMM/src/warning.cpp')
-rw-r--r--plugins/TabSRMM/src/warning.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TabSRMM/src/warning.cpp b/plugins/TabSRMM/src/warning.cpp
index 0c09468c68..c5bf30736f 100644
--- a/plugins/TabSRMM/src/warning.cpp
+++ b/plugins/TabSRMM/src/warning.cpp
@@ -128,7 +128,7 @@ public:
HICON hIcon;
if (uResId)
- hIcon = reinterpret_cast<HICON>(::LoadImage(nullptr, MAKEINTRESOURCE(uResId), IMAGE_ICON, 0, 0, LR_SHARED));
+ hIcon = reinterpret_cast<HICON>(::LoadImage(nullptr, MAKEINTRESOURCE(uResId), IMAGE_ICON, 0, 0, LR_SHARED | LR_DEFAULTSIZE));
else
hIcon = ::Skin_LoadIcon(SKINICON_EVENT_MESSAGE, true);
::SendDlgItemMessageW(hwnd, IDC_WARNICON, STM_SETICON, reinterpret_cast<WPARAM>(hIcon), 0);