summaryrefslogtreecommitdiff
path: root/plugins/SplashScreen/src/debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/SplashScreen/src/debug.h')
-rw-r--r--plugins/SplashScreen/src/debug.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/SplashScreen/src/debug.h b/plugins/SplashScreen/src/debug.h
index 91f45ef971..3e4117a119 100644
--- a/plugins/SplashScreen/src/debug.h
+++ b/plugins/SplashScreen/src/debug.h
@@ -24,7 +24,7 @@ int inline _DebugPopup(MCONTACT hContact, wchar_t *fmt, ...)
ppd.lchContact = hContact;
ppd.lchIcon = Skin_LoadIcon(SKINICON_OTHER_MIRANDA);
if(hContact != 0)
- mir_wstrncpy(ppd.lptzContactName, (wchar_t*)pcli->pfnGetContactDisplayName(hContact, 0), MAX_CONTACTNAME);
+ mir_wstrncpy(ppd.lptzContactName, Clist_GetContactDisplayName(hContact), MAX_CONTACTNAME);
else
mir_wstrncpy(ppd.lptzContactName, _A2W(PlugName), MAX_CONTACTNAME);
mir_wstrncpy(ppd.lptzText, debug, MAX_SECONDLINE - 20);