summaryrefslogtreecommitdiff
path: root/src/core/stdmsg/src/msglog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/stdmsg/src/msglog.cpp')
-rw-r--r--src/core/stdmsg/src/msglog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/stdmsg/src/msglog.cpp b/src/core/stdmsg/src/msglog.cpp
index 58d6ecf2a7..dac3fdb793 100644
--- a/src/core/stdmsg/src/msglog.cpp
+++ b/src/core/stdmsg/src/msglog.cpp
@@ -274,7 +274,7 @@ static bool CreateRTFFromDbEvent(LogStreamData *dat)
else
szName = TranslateT("Me");
}
- else szName = pcli->pfnGetContactDisplayName(dat->hContact, 0);
+ else szName = Clist_GetContactDisplayName(dat->hContact);
SetToStyle((dbei.flags & DBEF_SENT) ? MSGFONTID_MYNAME : MSGFONTID_YOURNAME, buf);
AppendToBufferWithRTF(buf, szName);
@@ -295,7 +295,7 @@ static bool CreateRTFFromDbEvent(LogStreamData *dat)
}
else szName = L"";
}
- else szName = pcli->pfnGetContactDisplayName(dat->hContact, 0);
+ else szName = Clist_GetContactDisplayName(dat->hContact);
SetToStyle(MSGFONTID_NOTICE, buf);
AppendToBufferWithRTF(buf, szName);