diff options
author | George Hazan <ghazan@miranda.im> | 2022-09-10 06:34:06 -0700 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2022-09-10 06:34:06 -0700 |
commit | f0585b3e81a1a0a9cfde43313cadf0ee72daad27 (patch) | |
tree | 531294de8c0d1e456936079f2416bb32a2eb0a71 | |
parent | ab037f7ba0306af106c7235e3820459ffb6c8d0f (diff) |
oops...
-rw-r--r-- | plugins/TabSRMM/src/warning.cpp | 2 |
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); |