summaryrefslogtreecommitdiff
path: root/plugins/MirandaG15/src/CScreen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MirandaG15/src/CScreen.cpp')
-rw-r--r--plugins/MirandaG15/src/CScreen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/MirandaG15/src/CScreen.cpp b/plugins/MirandaG15/src/CScreen.cpp
index 08ed7cb155..90d053ed23 100644
--- a/plugins/MirandaG15/src/CScreen.cpp
+++ b/plugins/MirandaG15/src/CScreen.cpp
@@ -117,7 +117,7 @@ void CScreen::SetButtonBitmap(int iButton, int iBitmap)
if(m_ahBitmaps[iButton] != nullptr)
DeleteObject(m_ahBitmaps[iButton]);
- m_ahBitmaps[iButton] = (HBITMAP)LoadImage(hInstance, MAKEINTRESOURCE(iBitmap),
+ m_ahBitmaps[iButton] = (HBITMAP)LoadImage(g_plugin.getInst(), MAKEINTRESOURCE(iBitmap),
IMAGE_BITMAP,17, 3, LR_MONOCHROME);
m_aButtons[iButton].SetBitmap(m_ahBitmaps[iButton]);