summaryrefslogtreecommitdiff
path: root/plugins/Popup/src/srmm_menu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Popup/src/srmm_menu.cpp')
-rw-r--r--plugins/Popup/src/srmm_menu.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Popup/src/srmm_menu.cpp b/plugins/Popup/src/srmm_menu.cpp
index 398d500e81..005cdf5765 100644
--- a/plugins/Popup/src/srmm_menu.cpp
+++ b/plugins/Popup/src/srmm_menu.cpp
@@ -77,11 +77,11 @@ void SrmmMenu_Load()
hIconPressed = HookEvent(ME_MSG_ICONPRESSED, SrmmMenu_ProcessIconClick);
hWindowEvent = HookEvent(ME_MSG_WINDOWEVENT, SrmmMenu_ProcessEvent);
/*
- HANDLE hContact = (HANDLE)CallService(MS_DB_CONTACT_FINDFIRST, 0, 0);
+ HANDLE hContact = db_find_first();
while (hContact)
{
SrmmMenu_UpdateIcon(hContact);
- hContact = (HANDLE)CallService(MS_DB_CONTACT_FINDNEXT, (WPARAM)hContact, 0);
+ hContact = db_find_next(hContact);
}
*/
}