diff options
author | George Hazan <ghazan@miranda.im> | 2018-05-16 20:48:02 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-05-16 20:48:09 +0300 |
commit | 91bf98433bfabfb2274511525b5be97d8e8d27f7 (patch) | |
tree | 71c0ece3bcad56671caa56f4e54e031b46359d0e /plugins/Scriver/src/msgoptions.cpp | |
parent | 20cead9e5014a830b52d74ebdfb1833eda015777 (diff) |
Scriver -> CMPlugin
Diffstat (limited to 'plugins/Scriver/src/msgoptions.cpp')
-rw-r--r-- | plugins/Scriver/src/msgoptions.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Scriver/src/msgoptions.cpp b/plugins/Scriver/src/msgoptions.cpp index e8876170e3..d2e4f6806a 100644 --- a/plugins/Scriver/src/msgoptions.cpp +++ b/plugins/Scriver/src/msgoptions.cpp @@ -622,7 +622,7 @@ class CLogOptionsDlg : public CDlgBase public:
CLogOptionsDlg() :
- CDlgBase(g_hInst, IDD_OPT_MSGLOG),
+ CDlgBase(g_plugin.getInst(), IDD_OPT_MSGLOG),
m_log(this, IDC_SRMM_LOG)
{}
@@ -959,7 +959,7 @@ int OptInitialise(WPARAM wParam, LPARAM) {
OPTIONSDIALOGPAGE odp = { 0 };
odp.position = 910000000;
- odp.hInstance = g_hInst;
+ odp.hInstance = g_plugin.getInst();
odp.szTitle.a = LPGEN("Message sessions");
odp.flags = ODPF_BOLDGROUPS;
@@ -1005,7 +1005,7 @@ int OptInitialise(WPARAM wParam, LPARAM) if (g_dat.popupInstalled) {
odp.position = 910000002;
- odp.hInstance = g_hInst;
+ odp.hInstance = g_plugin.getInst();
odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPTIONSPOPUP);
odp.szTitle.a = LPGEN("Messaging");
odp.szGroup.a = LPGEN("Popups");
|