summaryrefslogtreecommitdiff
path: root/plugins/SplashScreen/src/services.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2013-03-09 19:25:58 +0000
committerKirill Volinsky <mataes2007@gmail.com>2013-03-09 19:25:58 +0000
commit4fb814b906f54b18bcfa56654f019ed1ef36b98e (patch)
treeb536248b6372940decde6d6395b148b56da3b244 /plugins/SplashScreen/src/services.cpp
parentac2acb9980932ed028b8a31d2add76a4b2b9b56b (diff)
added precompiled header
git-svn-id: http://svn.miranda-ng.org/main/trunk@3946 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SplashScreen/src/services.cpp')
-rw-r--r--plugins/SplashScreen/src/services.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/SplashScreen/src/services.cpp b/plugins/SplashScreen/src/services.cpp
index 44ee1861b3..def64f0684 100644
--- a/plugins/SplashScreen/src/services.cpp
+++ b/plugins/SplashScreen/src/services.cpp
@@ -27,18 +27,18 @@ INT_PTR ShowSplashService(WPARAM wparam,LPARAM lparam)
TCHAR* filename = (TCHAR*) wparam;
int timetoshow = (int) lparam;
- lstrcpy(szOldfn, szSplashFile);
+ _tcscpy_s(szOldfn, szSplashFile);
options.showtime = timetoshow;
pos = _tcsrchr(filename, _T(':'));
if (pos == NULL)
mir_sntprintf(szSplashFile, SIZEOF(szSplashFile), _T("%s\\%s"), szMirDir, filename);
else
- lstrcpy(szSplashFile, filename);
+ _tcscpy_s(szSplashFile, filename);
ShowSplash(false);
- lstrcpy(szSplashFile, szOldfn);
+ _tcscpy_s(szSplashFile, szOldfn);
return 0;
}