diff options
Diffstat (limited to 'plugins/Utils/mir_buffer.h')
| -rw-r--r-- | plugins/Utils/mir_buffer.h | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Utils/mir_buffer.h b/plugins/Utils/mir_buffer.h index ac7c909860..c8388bd731 100644 --- a/plugins/Utils/mir_buffer.h +++ b/plugins/Utils/mir_buffer.h @@ -463,7 +463,7 @@ static void ReplaceVars(Buffer<TCHAR> *buffer, MCONTACT hContact, TCHAR **variab  				size_t foundLen = i - j + 1;
  				if (foundLen == 9 && _tcsncmp(&buffer->str[j], _T("%contact%"), 9) == 0)
  				{
 -					buffer->replace(j, i + 1, (TCHAR *) CallService(MS_CLIST_GETCONTACTDISPLAYNAME, hContact, GCDNF_TCHAR));
 +					buffer->replace(j, i + 1, pcli->pfnGetContactDisplayName(hContact, 0));
  				}
  				else if (foundLen == 6 && _tcsncmp(&buffer->str[j], _T("%date%"), 6) == 0)
  				{
  | 
