From 688f55ba998c19304a29727c910504903f4cc49a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 30 Nov 2014 18:51:36 +0000 Subject: lstr* replacements git-svn-id: http://svn.miranda-ng.org/main/trunk@11176 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/WhoUsesMyFiles/src/wumfplug.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/WhoUsesMyFiles/src/wumfplug.cpp') diff --git a/plugins/WhoUsesMyFiles/src/wumfplug.cpp b/plugins/WhoUsesMyFiles/src/wumfplug.cpp index 6d7c207b70..9ac45b6711 100644 --- a/plugins/WhoUsesMyFiles/src/wumfplug.cpp +++ b/plugins/WhoUsesMyFiles/src/wumfplug.cpp @@ -137,8 +137,8 @@ void ShowThePopup(PWumf w, LPTSTR title, LPTSTR text) else if (WumfOptions.DelaySet) ppd.iSeconds = WumfOptions.DelaySec; - lstrcpyn(ppd.lptzContactName, title, MAX_CONTACTNAME); - lstrcpyn(ppd.lptzText, text, MAX_SECONDLINE); + mir_tstrncpy(ppd.lptzContactName, title, MAX_CONTACTNAME); + mir_tstrncpy(ppd.lptzText, text, MAX_SECONDLINE); if (WumfOptions.UseWinColor) { ppd.colorBack = GetSysColor(COLOR_WINDOW); ppd.colorText = GetSysColor(COLOR_WINDOWTEXT); @@ -275,7 +275,7 @@ void ChooseFile(HWND hDlg) HANDLE hf = CreateFile(szFile,GENERIC_WRITE,0,NULL,OPEN_ALWAYS,FILE_ATTRIBUTE_NORMAL, NULL); if (hf != INVALID_HANDLE_VALUE) { SetDlgItemText(hDlg,IDC_FILE,szFile); - lstrcpyn(WumfOptions.LogFile, szFile, MAX_PATH); + mir_tstrncpy(WumfOptions.LogFile, szFile, MAX_PATH); CloseHandle(hf); } } -- cgit v1.2.3