From 99962115431435cf17dfae4d3b7c8d7d55d824bf Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 8 Mar 2019 15:29:44 +0300 Subject: life is too short to remember whether this structure is zeroed or not --- plugins/TranslitSwitcher/src/Layoutproc.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'plugins/TranslitSwitcher/src') diff --git a/plugins/TranslitSwitcher/src/Layoutproc.cpp b/plugins/TranslitSwitcher/src/Layoutproc.cpp index 2ddbc3202d..58b1600b3a 100644 --- a/plugins/TranslitSwitcher/src/Layoutproc.cpp +++ b/plugins/TranslitSwitcher/src/Layoutproc.cpp @@ -429,11 +429,11 @@ void SwitchLayout(bool lastword) if (smileyPrs != nullptr) CallService(MS_SMILEYADD_BATCHFREE, 0, (LPARAM)smileyPrs); - POPUPDATAW pd = { 0 }; - pd.lchIcon = IcoLib_GetIcon("Switch Layout and Send"); - mir_wstrncpy(pd.lpwzText, buf, _countof(pd.lpwzText)); - mir_wstrncpy(pd.lpwzContactName, TranslateW_LP(L"TranslitSwitcher"), _countof(pd.lpwzContactName)); - PUAddPopupW(&pd); + POPUPDATAW ppd; + ppd.lchIcon = IcoLib_GetIcon("Switch Layout and Send"); + mir_wstrncpy(ppd.lpwzText, buf, _countof(ppd.lpwzText)); + mir_wstrncpy(ppd.lpwzContactName, TranslateW_LP(L"TranslitSwitcher"), _countof(ppd.lpwzContactName)); + PUAddPopupW(&ppd); } } else if (mir_wstrcmpi(szClassName, L"RichEdit50W") == 0) { -- cgit v1.2.3