summaryrefslogtreecommitdiff
path: root/plugins/TranslitSwitcher/src/Layoutproc.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-03-08 15:29:44 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-03-08 15:29:44 +0300
commit99962115431435cf17dfae4d3b7c8d7d55d824bf (patch)
tree1c80a533f5d3d4ba9d3b894a9a38b9167fe3047e /plugins/TranslitSwitcher/src/Layoutproc.cpp
parenta23186175cff579d5aeb231372e87b0b852bdb38 (diff)
life is too short to remember whether this structure is zeroed or not
Diffstat (limited to 'plugins/TranslitSwitcher/src/Layoutproc.cpp')
-rw-r--r--plugins/TranslitSwitcher/src/Layoutproc.cpp10
1 files changed, 5 insertions, 5 deletions
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) {