summaryrefslogtreecommitdiff
path: root/src/modules/clist/clistmenus.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-11-15 17:08:48 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-11-15 17:08:48 +0000
commit2b49f2b34e0e3cbcda608c07e5cb206c9fa01c9a (patch)
tree7f40603382e8150bacecbea9abbe4d62c9a394ef /src/modules/clist/clistmenus.cpp
parent41ca3061eb739eb5f929dbbd1f72e3904cb52d5d (diff)
core: tabs over spaces
git-svn-id: http://svn.miranda-ng.org/main/trunk@2316 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/clist/clistmenus.cpp')
-rw-r--r--src/modules/clist/clistmenus.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/clist/clistmenus.cpp b/src/modules/clist/clistmenus.cpp
index 094baafc67..5e33c150ce 100644
--- a/src/modules/clist/clistmenus.cpp
+++ b/src/modules/clist/clistmenus.cpp
@@ -336,7 +336,7 @@ static INT_PTR BuildContactMenu(WPARAM wParam, LPARAM)
BuildContactParam bcp;
bcp.szProto = szProto;
bcp.isOnList = (db_get_b(hContact, "CList", "NotOnList", 0) == 0);
- bcp.isOnline = (szProto != NULL && ID_STATUS_OFFLINE != DBGetContactSettingWord(hContact, szProto, "Status", ID_STATUS_OFFLINE));
+ bcp.isOnline = (szProto != NULL && ID_STATUS_OFFLINE != db_get_w(hContact, szProto, "Status", ID_STATUS_OFFLINE));
ListParam param = { 0 };
param.MenuObjectHandle = hContactMenuObject;
@@ -1379,7 +1379,7 @@ void InitCustomMenus(void)
HookEvent(ME_HOTKEYS_CHANGED, sttRebuildHotkeys);
- // add exit command to menu
+ // add exit command to menu
{
CLISTMENUITEM mi = { 0 };
mi.cbSize = sizeof(mi);