diff options
Diffstat (limited to 'plugins/WhenWasIt/src/notifiers.cpp')
-rw-r--r-- | plugins/WhenWasIt/src/notifiers.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/WhenWasIt/src/notifiers.cpp b/plugins/WhenWasIt/src/notifiers.cpp index 91605c80b3..ba5fc70842 100644 --- a/plugins/WhenWasIt/src/notifiers.cpp +++ b/plugins/WhenWasIt/src/notifiers.cpp @@ -69,7 +69,7 @@ int PopupNotifyBirthday(MCONTACT hContact, int dtb, int age) if (commonData.bIgnoreSubcontacts && db_mc_isSub(hContact))
return 0;
- wchar_t *name = pcli->pfnGetContactDisplayName(hContact, 0);
+ wchar_t *name = Clist_GetContactDisplayName(hContact);
wchar_t text[1024];
BuildDTBText(dtb, name, text, _countof(text));
@@ -113,7 +113,7 @@ int PopupNotifyMissedBirthday(MCONTACT hContact, int dab, int age) if (commonData.bIgnoreSubcontacts && db_mc_isSub(hContact))
return 0;
- wchar_t *name = pcli->pfnGetContactDisplayName(hContact, 0);
+ wchar_t *name = Clist_GetContactDisplayName(hContact);
wchar_t text[1024];
BuildDABText(dab, name, text, _countof(text));
@@ -149,7 +149,7 @@ int PopupNotifyMissedBirthday(MCONTACT hContact, int dab, int age) int DialogNotifyBirthday(MCONTACT hContact, int dtb, int age)
{
- wchar_t *name = pcli->pfnGetContactDisplayName(hContact, 0);
+ wchar_t *name = Clist_GetContactDisplayName(hContact);
wchar_t text[1024];
BuildDTBText(dtb, name, text, _countof(text));
@@ -171,7 +171,7 @@ int DialogNotifyBirthday(MCONTACT hContact, int dtb, int age) int DialogNotifyMissedBirthday(MCONTACT hContact, int dab, int age)
{
- wchar_t *name = pcli->pfnGetContactDisplayName(hContact, 0);
+ wchar_t *name = Clist_GetContactDisplayName(hContact);
wchar_t text[1024];
BuildDABText(dab, name, text, _countof(text));
|