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/Popup/src/popup_wnd2.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/Popup/src/popup_wnd2.cpp') diff --git a/plugins/Popup/src/popup_wnd2.cpp b/plugins/Popup/src/popup_wnd2.cpp index 0f56959886..0b41e89e3c 100644 --- a/plugins/Popup/src/popup_wnd2.cpp +++ b/plugins/Popup/src/popup_wnd2.cpp @@ -688,8 +688,8 @@ void PopupWnd2::updateData(POPUPDATAW_V2 *ppd) if (m_textType == TT_NONE) m_textType = TT_UNICODE; - replaceStrW(m_lptzTitle, ppd->lptzContactName); - replaceStrW(m_lptzText, ppd->lptzText); + replaceStrW(m_lptzTitle, ppd->lpwzContactName); + replaceStrW(m_lptzText, ppd->lpwzText); setIcon(ppd->lchIcon); m_hNotification = ppd->hNotification; @@ -718,7 +718,7 @@ void PopupWnd2::updateData(POPUPDATA2 *ppd) if (m_textType == TT_NONE) m_textType = TT_UNICODE; replaceStrW(m_lptzTitle, ppd->lptzTitle); - replaceStrW(m_lptzText, ppd->lptzText); + replaceStrW(m_lptzText, ppd->lpwzText); } else { replaceStrW(m_lptzTitle, nullptr); @@ -991,7 +991,7 @@ LRESULT CALLBACK PopupWnd2::WindowProc(UINT message, WPARAM wParam, LPARAM lPara case UM_POPUPMODIFYACTIONICON: { - LPPOPUPACTIONID actionId = (LPPOPUPACTIONID)wParam; + POPUPACTIONID *actionId = (POPUPACTIONID*)wParam; for (int i = 0; i < m_actionCount; ++i) if ((m_actions[i].actionA.wParam == actionId->wParam) && (m_actions[i].actionA.lParam == actionId->lParam)) { -- cgit v1.2.3