diff options
Diffstat (limited to 'plugins/SplashScreen/src/services.cpp')
-rw-r--r-- | plugins/SplashScreen/src/services.cpp | 6 |
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;
}
|