diff options
author | George Hazan <ghazan@miranda.im> | 2018-04-05 22:10:25 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-04-05 22:10:25 +0300 |
commit | 35e2289786a7f1542573d1a58ebc971970ea981c (patch) | |
tree | da8887c793611fdbf6072fd477fd8c01c60b8b02 /plugins/ListeningTo/src/listeningto.cpp | |
parent | f7c00d6dc53774d16b9721e79ed5d4017af63884 (diff) |
CLIST_INTERFACE::pfnGetContactDisplayName => Clist_GetContactDisplayName
Diffstat (limited to 'plugins/ListeningTo/src/listeningto.cpp')
-rw-r--r-- | plugins/ListeningTo/src/listeningto.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ListeningTo/src/listeningto.cpp b/plugins/ListeningTo/src/listeningto.cpp index 79ba940b61..1873a51419 100644 --- a/plugins/ListeningTo/src/listeningto.cpp +++ b/plugins/ListeningTo/src/listeningto.cpp @@ -425,7 +425,7 @@ static void ReplaceVars(Buffer<wchar_t> *buffer, MCONTACT hContact, wchar_t **va if (buffer->str[j] == '%') {
size_t foundLen = i - j + 1;
if (foundLen == 9 && wcsncmp(&buffer->str[j], L"%contact%", 9) == 0) {
- buffer->replace(j, i + 1, pcli->pfnGetContactDisplayName(hContact, 0));
+ buffer->replace(j, i + 1, Clist_GetContactDisplayName(hContact));
}
else if (foundLen == 6 && wcsncmp(&buffer->str[j], L"%date%", 6) == 0) {
wchar_t tmp[128];
|