diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2012-10-11 03:31:47 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2012-10-11 03:31:47 +0300 |
commit | 1566618e519c30245d30f8f56674488e2a257db2 (patch) | |
tree | 92909226c0d69a46192248448c4e5c8d56904ab7 /src/icons.cpp | |
parent | a0e20c23391844bca0ab2e05561104a90c63cc18 (diff) |
modified: src/icons.cpp
modified: src/init.cpp
modified: src/main.cpp
modified: src/options.cpp
modified: src/utilities.cpp
Diffstat (limited to 'src/icons.cpp')
-rwxr-xr-x | src/icons.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/icons.cpp b/src/icons.cpp index a1d02df..3f89da2 100755 --- a/src/icons.cpp +++ b/src/icons.cpp @@ -141,11 +141,11 @@ void RefreshContactListIcons() {
extern HANDLE g_hCLIcon;
CallService(MS_CLUI_LISTBEGINREBUILD,0,0);
- HANDLE hContact = (HANDLE)CallService(MS_DB_CONTACT_FINDFIRST, 0, 0);
+ HANDLE hContact = db_find_first();
while (hContact)
{
setClistIcon(hContact);
- hContact = (HANDLE)CallService(MS_DB_CONTACT_FINDNEXT, (WPARAM)hContact, 0);
+ hContact = db_find_next(hContact);
}
CallService(MS_CLUI_LISTENDREBUILD,0,0);
}
|