summaryrefslogtreecommitdiff
path: root/plugins/IEHistory/src/dlgHandlers.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <Mataes2007@gmail.com>2018-05-17 09:57:44 +0300
committerKirill Volinsky <Mataes2007@gmail.com>2018-05-17 09:57:44 +0300
commitf8a6d5631667c382ecc9148f07163cb36681ddc4 (patch)
tree7f6df83cb7734852f00c4896d9da0bd8db0c2773 /plugins/IEHistory/src/dlgHandlers.cpp
parent56239fcddd46400d812d83e38597d593b5c0356d (diff)
IEHistory: cmplugin adaptation
Diffstat (limited to 'plugins/IEHistory/src/dlgHandlers.cpp')
-rw-r--r--plugins/IEHistory/src/dlgHandlers.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/IEHistory/src/dlgHandlers.cpp b/plugins/IEHistory/src/dlgHandlers.cpp
index dad7eb3932..5a2d643f3c 100644
--- a/plugins/IEHistory/src/dlgHandlers.cpp
+++ b/plugins/IEHistory/src/dlgHandlers.cpp
@@ -374,7 +374,7 @@ INT_PTR CALLBACK HistoryDlgProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lPara
0, 0, //width, height
hWnd, //parent
(HMENU)IDC_STATUSBAR, //menu
- hInstance, //instance
+ g_plugin.getInst(), //instance
nullptr); //lpParam
int x;
int widths[] = { x = 50, x += 50, x += 150, -1 };
@@ -464,7 +464,7 @@ INT_PTR CALLBACK HistoryDlgProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lPara
break;
case IDC_SEARCH:
- HWND hSearch = CreateDialog(hInstance, MAKEINTRESOURCE(IDD_SEARCH), hWnd, SearchDlgProc);
+ HWND hSearch = CreateDialog(g_plugin.getInst(), MAKEINTRESOURCE(IDD_SEARCH), hWnd, SearchDlgProc);
if (hSearch == nullptr) {
char buffer[1024];
sprintf(buffer, "Error #%d", GetLastError());