summaryrefslogtreecommitdiff
path: root/protocols/GTalkExt/src/options.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-09-25 12:29:40 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-09-25 12:29:40 +0000
commitb0fc2c1110d77fce11882cb64b6dc2300cf5355b (patch)
tree9e7618eeb386b0238cfd73f4b2518bae55a1c3a4 /protocols/GTalkExt/src/options.cpp
parente64818967374ebdadf6f22d18296e7bc6088277b (diff)
GTalkExt not to intercept focus when displaying popups
git-svn-id: http://svn.miranda-ng.org/main/trunk@6227 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/GTalkExt/src/options.cpp')
-rw-r--r--protocols/GTalkExt/src/options.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/GTalkExt/src/options.cpp b/protocols/GTalkExt/src/options.cpp
index ade91850e9..0d5fdc25ee 100644
--- a/protocols/GTalkExt/src/options.cpp
+++ b/protocols/GTalkExt/src/options.cpp
@@ -71,7 +71,7 @@ BOOL ReadCheckbox(HWND wnd, int id, DWORD controls)
DWORD ReadCheckboxes(HWND wnd, LPCSTR mod)
{
- DWORD controls = db_get_dw(0, NOTIFY_SETTINGS_FROM_MOD_NAME, mod, 0);
+ DWORD controls = db_get_dw(NULL, NOTIFY_SETTINGS_FROM_MOD_NAME, mod, 0);
ReadCheckbox(wnd, IDC_POPUPSENABLED, controls);
ReadCheckbox(wnd, IDC_PSEUDOCONTACTENABLED, controls);
ReadCheckbox(wnd, IDC_CLEARPSEUDOCONTACTLOG, controls);
@@ -105,7 +105,7 @@ void SaveControls(HWND wnd, LPCSTR mod)
GetCheckboxSaveValue(wnd, IDC_STANDARDVIEW) |
GetCheckboxSaveValue(wnd, IDC_HTMLVIEW);
- db_set_dw(0, NOTIFY_SETTINGS_FROM_MOD_NAME, mod, controls);
+ db_set_dw(NULL, NOTIFY_SETTINGS_FROM_MOD_NAME, mod, controls);
}
INT_PTR CALLBACK AccOptionsDlgProc(HWND wnd, UINT msg, WPARAM wParam, LPARAM lParam)