diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2015-04-23 07:09:07 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2015-04-23 07:09:07 +0000 |
commit | 6c5f47e21ef20a586ca2e9732d167a6d7b72679f (patch) | |
tree | a430b91ca718b5d47a55037579e750d89d80a47a /plugins | |
parent | 8b11933a0461908077bb0574b133912961dd0749 (diff) |
more changes for string functions
git-svn-id: http://svn.miranda-ng.org/main/trunk@13048 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-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);
}
}
|