diff options
Diffstat (limited to 'plugins/Ping/src/utils.cpp')
-rw-r--r-- | plugins/Ping/src/utils.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/plugins/Ping/src/utils.cpp b/plugins/Ping/src/utils.cpp index b94fe07bce..98a3db9024 100644 --- a/plugins/Ping/src/utils.cpp +++ b/plugins/Ping/src/utils.cpp @@ -18,10 +18,10 @@ LRESULT CALLBACK NullWindowProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM l static INT_PTR CALLBACK sttMainThreadCallback(void *dwParam)
{
- POPUPDATAT* ppd = (POPUPDATAT*)dwParam;
+ POPUPDATAW* ppd = (POPUPDATAW*)dwParam;
- if (ServiceExists(MS_POPUP_ADDPOPUPT))
- PUAddPopupT(ppd);
+ if (ServiceExists(MS_POPUP_ADDPOPUPW))
+ PUAddPopupW(ppd);
free(ppd);
return 0;
@@ -32,15 +32,15 @@ void __stdcall ShowPopup(wchar_t *line1, wchar_t *line2, int flags) if (Miranda_IsTerminated()) return;
if (ServiceExists(MS_POPUP_ADDPOPUPCLASS)) {
- ShowClassPopupT("pingpopups", line1, line2);
+ ShowClassPopupW("pingpopups", line1, line2);
}
- else if (ServiceExists(MS_POPUP_ADDPOPUPT)) {
- POPUPDATAT *ppd = (POPUPDATAT*)calloc(sizeof(POPUPDATAT), 1);
+ else if (ServiceExists(MS_POPUP_ADDPOPUPW)) {
+ POPUPDATAW *ppd = (POPUPDATAW*)calloc(sizeof(POPUPDATAW), 1);
ppd->lchContact = NULL;
ppd->lchIcon = (flags ? hIconResponding : hIconNotResponding);
- mir_wstrncpy(ppd->lptzContactName, line1, _countof(ppd->lptzContactName));
- mir_wstrncpy(ppd->lptzText, line2, _countof(ppd->lptzText));
+ mir_wstrncpy(ppd->lpwzContactName, line1, _countof(ppd->lpwzContactName));
+ mir_wstrncpy(ppd->lpwzText, line2, _countof(ppd->lpwzText));
ppd->colorBack = GetSysColor(COLOR_BTNFACE);
ppd->colorText = GetSysColor(COLOR_WINDOWTEXT);
|