diff options
author | George Hazan <ghazan@miranda.im> | 2018-05-17 19:41:35 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-05-17 19:41:35 +0300 |
commit | 11e70d8c4e224d80015fffe0378c53abee5fd824 (patch) | |
tree | 8b21511f57aad4a9aaaa9391450cf5b83146a2f8 /plugins/SkypeStatusChange/src/options.cpp | |
parent | 0c12fe889baeced3e7d8c3f2558d10f563a43612 (diff) |
Popup, PManagerEx, QuickContacts, RemovePersonalSettings, Restart, SeenPlugin, SendSS, ShlExt, SimpleAR, SimpleStatusMsg, SkypeStatusChange, SmileyAdd, SMS => CMPlugin
Diffstat (limited to 'plugins/SkypeStatusChange/src/options.cpp')
-rw-r--r-- | plugins/SkypeStatusChange/src/options.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/SkypeStatusChange/src/options.cpp b/plugins/SkypeStatusChange/src/options.cpp index b80d7abfb2..fc3e2dfab8 100644 --- a/plugins/SkypeStatusChange/src/options.cpp +++ b/plugins/SkypeStatusChange/src/options.cpp @@ -204,7 +204,7 @@ class CImageListWrapper {
public:
CImageListWrapper()
- : m_hImageList(ImageList_LoadImage(g_hModule,MAKEINTRESOURCE(IDB_TREE_STATE),16,0,RGB(255,255,255),IMAGE_BITMAP,LR_DEFAULTCOLOR))
+ : m_hImageList(ImageList_LoadImage(g_plugin.getInst(),MAKEINTRESOURCE(IDB_TREE_STATE),16,0,RGB(255,255,255),IMAGE_BITMAP,LR_DEFAULTCOLOR))
{
}
@@ -301,7 +301,7 @@ int SSC_OptInitialise(WPARAM wp, LPARAM) {
OPTIONSDIALOGPAGE odp = { 0 };
odp.position = 910000000;
- odp.hInstance = g_hModule;
+ odp.hInstance = g_plugin.getInst();
odp.szTitle.a = LPGEN("Change Skype status");
odp.szGroup.a = LPGEN("Plugins");
odp.pszTemplate = MAKEINTRESOURCEA(IDD_DIALOG_SETTINGS);
|