diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2013-08-19 15:12:03 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2013-08-19 15:12:03 +0000 |
commit | 7056d9f7bf15b9e9d8e21bb8f38688733a73920d (patch) | |
tree | a36e623e51faafe2613cfff096a8eb3aa4026a7d /plugins/SplashScreen/src/services.cpp | |
parent | dc9bcdf426102a9a8c00ce5ad5d33551b27d608c (diff) |
own function replaced by winapi
git-svn-id: http://svn.miranda-ng.org/main/trunk@5748 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SplashScreen/src/services.cpp')
-rw-r--r-- | plugins/SplashScreen/src/services.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/SplashScreen/src/services.cpp b/plugins/SplashScreen/src/services.cpp index def64f0684..010094f8bf 100644 --- a/plugins/SplashScreen/src/services.cpp +++ b/plugins/SplashScreen/src/services.cpp @@ -23,14 +23,13 @@ INT_PTR ShowSplashService(WPARAM wparam,LPARAM lparam) {
bserviceinvoked = true;
TCHAR szOldfn [256];
- TCHAR* pos;
TCHAR* filename = (TCHAR*) wparam;
int timetoshow = (int) lparam;
_tcscpy_s(szOldfn, szSplashFile);
options.showtime = timetoshow;
- pos = _tcsrchr(filename, _T(':'));
+ TCHAR *pos = _tcsrchr(filename, _T(':'));
if (pos == NULL)
mir_sntprintf(szSplashFile, SIZEOF(szSplashFile), _T("%s\\%s"), szMirDir, filename);
else
|