diff options
Diffstat (limited to 'plugins/TranslitSwitcher/src')
-rw-r--r-- | plugins/TranslitSwitcher/src/Layoutproc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/TranslitSwitcher/src/Layoutproc.cpp b/plugins/TranslitSwitcher/src/Layoutproc.cpp index 881e76cf8f..541ae26732 100644 --- a/plugins/TranslitSwitcher/src/Layoutproc.cpp +++ b/plugins/TranslitSwitcher/src/Layoutproc.cpp @@ -429,8 +429,8 @@ void SwitchLayout(bool lastword) POPUPDATAT pd = { 0 };
pd.lchIcon = Skin_GetIcon("Switch Layout and Send");
- _tcsncpy_s(pd.lptzText, buf, _TRUNCATE);
- _tcsncpy_s(pd.lptzContactName, TranslateT("TranslitSwitcher"), _TRUNCATE);
+ mir_tstrncpy(pd.lptzText, buf, SIZEOF(pd.lptzText));
+ mir_tstrncpy(pd.lptzContactName, TranslateT("TranslitSwitcher"), SIZEOF(pd.lptzContactName));
PUAddPopupT(&pd);
}
}
|