From 6c5f47e21ef20a586ca2e9732d167a6d7b72679f Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Thu, 23 Apr 2015 07:09:07 +0000 Subject: more changes for string functions git-svn-id: http://svn.miranda-ng.org/main/trunk@13048 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/TranslitSwitcher/src/Layoutproc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/TranslitSwitcher') 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); } } -- cgit v1.2.3