summaryrefslogtreecommitdiff
path: root/src/modules/clist/contact.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/contact.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/contact.cpp')
-rw-r--r--src/modules/clist/contact.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/clist/contact.cpp b/src/modules/clist/contact.cpp
index 574ea53bb8..becd06f2a3 100644
--- a/src/modules/clist/contact.cpp
+++ b/src/modules/clist/contact.cpp
@@ -48,7 +48,7 @@ static int GetContactStatus(HANDLE hContact)
char* szProto = (char*)CallService(MS_PROTO_GETCONTACTBASEPROTO, (WPARAM) hContact, 0);
if (szProto == NULL)
return ID_STATUS_OFFLINE;
- return DBGetContactSettingWord(hContact, szProto, "Status", ID_STATUS_OFFLINE);
+ return db_get_w(hContact, szProto, "Status", ID_STATUS_OFFLINE);
}
void fnChangeContactIcon(HANDLE hContact, int iIcon, int add)
@@ -99,8 +99,8 @@ int fnCompareContacts(const ClcContact* c1, const ClcContact* c2)
int statusa, statusb;
int rc;
- statusa = DBGetContactSettingWord((HANDLE) a, c1->proto, "Status", ID_STATUS_OFFLINE);
- statusb = DBGetContactSettingWord((HANDLE) b, c2->proto, "Status", ID_STATUS_OFFLINE);
+ statusa = db_get_w((HANDLE) a, c1->proto, "Status", ID_STATUS_OFFLINE);
+ statusb = db_get_w((HANDLE) b, c2->proto, "Status", ID_STATUS_OFFLINE);
if (sortByProto) {
/* deal with statuses, online contacts have to go above offline */