summaryrefslogtreecommitdiff
path: root/plugins/FingerprintNG/src/options.cpp
diff options
context:
space:
mode:
authorMataes <mataes2007@gmail.com>2018-05-16 21:48:52 +0300
committerMataes <mataes2007@gmail.com>2018-05-16 21:49:13 +0300
commit650fc5a2103cedfe149500ade9c684ecf381d348 (patch)
treea7f4727baa7b298992a65d240a6017dda3a82f9a /plugins/FingerprintNG/src/options.cpp
parentf1195d51ea8094492fcf63a301f2cdc9d1173d6c (diff)
FavContacts, FileAsMessage, Fingerprint, FloatingContacts, Folders, FTPFile: cmplugin adaptation
Diffstat (limited to 'plugins/FingerprintNG/src/options.cpp')
-rw-r--r--plugins/FingerprintNG/src/options.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/FingerprintNG/src/options.cpp b/plugins/FingerprintNG/src/options.cpp
index 388a9e7175..18ee7372bd 100644
--- a/plugins/FingerprintNG/src/options.cpp
+++ b/plugins/FingerprintNG/src/options.cpp
@@ -93,7 +93,7 @@ static INT_PTR CALLBACK DlgProcOptions(HWND hwndDlg, UINT msg, WPARAM wParam, LP
break;
case WM_NOTIFY:
- NMHDR *hdr = (NMHDR *)lParam;
+ NMHDR * hdr = (NMHDR *)lParam;
if (hdr && hdr->code == PSN_APPLY) {
for (auto &it : settings)
StoreDBCheckState(hwndDlg, it.idCtrl, it.szSetName);
@@ -112,7 +112,7 @@ static INT_PTR CALLBACK DlgProcOptions(HWND hwndDlg, UINT msg, WPARAM wParam, LP
int OnOptInitialise(WPARAM wParam, LPARAM)
{
OPTIONSDIALOGPAGE odp = { 0 };
- odp.hInstance = g_hInst;
+ odp.hInstance = g_plugin.getInst();
odp.szGroup.w = LPGENW("Icons");
odp.pszTemplate = MAKEINTRESOURCEA(IDD_DIALOG);
odp.szTitle.w = LPGENW("Fingerprint");