diff options
author | George Hazan <george.hazan@gmail.com> | 2012-10-07 11:42:28 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-10-07 11:42:28 +0000 |
commit | 197fe77f67654cf8c46c53376190fc321176c08b (patch) | |
tree | 1a161cf7fb7968e3781b1d11771195d9b5e4c26c /src/modules/skin/hotkey_opts.cpp | |
parent | 4bcab3fc00696ca2daf1396bfc75bd49009644d6 (diff) |
old database macros removed from m_database.h
git-svn-id: http://svn.miranda-ng.org/main/trunk@1796 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/skin/hotkey_opts.cpp')
-rw-r--r-- | src/modules/skin/hotkey_opts.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/skin/hotkey_opts.cpp b/src/modules/skin/hotkey_opts.cpp index fb932ed7b7..9bf5bdc86e 100644 --- a/src/modules/skin/hotkey_opts.cpp +++ b/src/modules/skin/hotkey_opts.cpp @@ -346,7 +346,7 @@ static void sttOptionsSaveItem(THotkeyItem *item) } }
mir_snprintf(buf, SIZEOF(buf), "%s$count", item->pszName);
- DBWriteContactSettingDword(NULL, DBMODULENAME, buf, item->nSubHotkeys);
+ db_set_dw(NULL, DBMODULENAME, buf, item->nSubHotkeys);
}
static void sttBuildHotkeyList(HWND hwndList)
@@ -506,7 +506,7 @@ static INT_PTR CALLBACK sttOptionsDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam, szSetting = mir_t2a(lvi.pszText);
ListView_SetCheckState(hwndHotkey, lvi.iItem,
- DBGetContactSettingByte(NULL, DBMODULENAME "UI", szSetting, TRUE));
+ db_get_b(NULL, DBMODULENAME "UI", szSetting, TRUE));
mir_free(szSetting);
}
|