diff options
author | George Hazan <george.hazan@gmail.com> | 2014-06-11 20:38:14 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-06-11 20:38:14 +0000 |
commit | fe72fbef65b67f80d7577bf412a0993ed78f228e (patch) | |
tree | 42f4d0091781d5dee3c9cc71aea95b6932c288aa /plugins/WebView/src/webview_opts.cpp | |
parent | 2123db77ba3caeae5f04a9d3c807b3bdc3d73076 (diff) |
correct ServiceExists call for popups
git-svn-id: http://svn.miranda-ng.org/main/trunk@9435 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/WebView/src/webview_opts.cpp')
-rw-r--r-- | plugins/WebView/src/webview_opts.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/WebView/src/webview_opts.cpp b/plugins/WebView/src/webview_opts.cpp index f49ca27613..9e7149908e 100644 --- a/plugins/WebView/src/webview_opts.cpp +++ b/plugins/WebView/src/webview_opts.cpp @@ -1145,11 +1145,11 @@ INT_PTR CALLBACK DlgProcOpt(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPara }
else {
CheckDlgButton(hwndDlg, IDC_SUPPRESS, BST_UNCHECKED);
- if ((ServiceExists(MS_POPUP_ADDPOPUP) != 0))
+ if ((ServiceExists(MS_POPUP_ADDPOPUPT) != 0))
EnableWindow(GetDlgItem(hwndDlg, IDC_ERROR_POPUP), 1);
}
- if (ServiceExists(MS_POPUP_ADDPOPUP) == 0)
+ if (ServiceExists(MS_POPUP_ADDPOPUPT) == 0)
EnableWindow(GetDlgItem(hwndDlg, IDC_ERROR_POPUP), 0);
if ( db_get_b(NULL, MODULENAME, UPDATE_ONSTART_KEY, 0)) {
@@ -1222,7 +1222,7 @@ INT_PTR CALLBACK DlgProcOpt(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPara break;
case IDC_SUPPRESS:
- if ((ServiceExists(MS_POPUP_ADDPOPUP) != 0))
+ if ((ServiceExists(MS_POPUP_ADDPOPUPT) != 0))
EnableWindow(GetDlgItem(hwndDlg, IDC_ERROR_POPUP), (!(IsDlgButtonChecked(hwndDlg, IDC_SUPPRESS))));
break;
|