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/TranslitSwitcher/src/Layoutproc.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/TranslitSwitcher/src') diff --git a/plugins/TranslitSwitcher/src/Layoutproc.cpp b/plugins/TranslitSwitcher/src/Layoutproc.cpp index f32d639fc6..f020743263 100644 --- a/plugins/TranslitSwitcher/src/Layoutproc.cpp +++ b/plugins/TranslitSwitcher/src/Layoutproc.cpp @@ -427,11 +427,11 @@ void SwitchLayout(bool lastword) if (smileyPrs != nullptr) CallService(MS_SMILEYADD_BATCHFREE, 0, (LPARAM)smileyPrs); - POPUPDATAT pd = { 0 }; + POPUPDATAW pd = { 0 }; pd.lchIcon = IcoLib_GetIcon("Switch Layout and Send"); - mir_wstrncpy(pd.lptzText, buf, _countof(pd.lptzText)); - mir_wstrncpy(pd.lptzContactName, TranslateW_LP(L"TranslitSwitcher"), _countof(pd.lptzContactName)); - PUAddPopupT(&pd); + mir_wstrncpy(pd.lpwzText, buf, _countof(pd.lpwzText)); + mir_wstrncpy(pd.lpwzContactName, TranslateW_LP(L"TranslitSwitcher"), _countof(pd.lpwzContactName)); + PUAddPopupW(&pd); } } else if (mir_wstrcmpi(szClassName, L"RichEdit50W") == 0) { -- cgit v1.2.3