diff options
author | Kirill Volinsky <Mataes2007@gmail.com> | 2018-05-16 13:47:00 +0300 |
---|---|---|
committer | Kirill Volinsky <Mataes2007@gmail.com> | 2018-05-16 13:47:30 +0300 |
commit | 14bdd09684eb98da73a0fe46882f883f109841d6 (patch) | |
tree | b195bb03c566afcdf1fa5aba9aab13fd79d645ef /plugins/AvatarHistory/src/popup.cpp | |
parent | 51f216f7e0feb67ad21387219c1b90e42b14658d (diff) |
AvatarHistory: cmplugin adaptation
Diffstat (limited to 'plugins/AvatarHistory/src/popup.cpp')
-rw-r--r-- | plugins/AvatarHistory/src/popup.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/AvatarHistory/src/popup.cpp b/plugins/AvatarHistory/src/popup.cpp index 2b5dfd3165..16e52cb53b 100644 --- a/plugins/AvatarHistory/src/popup.cpp +++ b/plugins/AvatarHistory/src/popup.cpp @@ -43,7 +43,7 @@ void InitPopups() // window needed for popup commands
hPopupWindow = CreateWindowEx(WS_EX_TOOLWINDOW, L"static", _A2W(MODULE_NAME) L"_PopupWindow",
0, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, HWND_DESKTOP,
- nullptr, hInst, nullptr);
+ nullptr, g_plugin.getInst(), nullptr);
SetWindowLongPtr(hPopupWindow, GWLP_WNDPROC, (LONG_PTR)PopupWndProc);
}
|