From 423be683866fd8e305457eb725d8cdbe1f297fbd Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 27 Feb 2019 12:43:20 +0300 Subject: popup code cleaning (cause we have no tchar.h) --- plugins/SplashScreen/src/debug.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'plugins/SplashScreen/src') diff --git a/plugins/SplashScreen/src/debug.h b/plugins/SplashScreen/src/debug.h index 3e4117a119..95b23d3af7 100644 --- a/plugins/SplashScreen/src/debug.h +++ b/plugins/SplashScreen/src/debug.h @@ -20,17 +20,17 @@ int inline _DebugPopup(MCONTACT hContact, wchar_t *fmt, ...) mir_snwprintf(debug, fmt, va); if(CallService(MS_POPUP_QUERY, PUQS_GETSTATUS, 0) == 1) { - POPUPDATAT ppd = { 0 }; + POPUPDATAW ppd = { 0 }; ppd.lchContact = hContact; ppd.lchIcon = Skin_LoadIcon(SKINICON_OTHER_MIRANDA); if(hContact != 0) - mir_wstrncpy(ppd.lptzContactName, Clist_GetContactDisplayName(hContact), MAX_CONTACTNAME); + mir_wstrncpy(ppd.lpwzContactName, Clist_GetContactDisplayName(hContact), MAX_CONTACTNAME); else - mir_wstrncpy(ppd.lptzContactName, _A2W(PlugName), MAX_CONTACTNAME); - mir_wstrncpy(ppd.lptzText, debug, MAX_SECONDLINE - 20); + mir_wstrncpy(ppd.lpwzContactName, _A2W(PlugName), MAX_CONTACTNAME); + mir_wstrncpy(ppd.lpwzText, debug, MAX_SECONDLINE - 20); ppd.colorText = RGB(255,255,255); ppd.colorBack = RGB(255,0,0); - PUAddPopupT(&ppd); + PUAddPopupW(&ppd); } return 0; } -- cgit v1.2.3