summaryrefslogtreecommitdiff
path: root/plugins/SplashScreen/src/services.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/SplashScreen/src/services.cpp')
-rw-r--r--plugins/SplashScreen/src/services.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/SplashScreen/src/services.cpp b/plugins/SplashScreen/src/services.cpp
index 6e3497cb6d..b89daaa23d 100644
--- a/plugins/SplashScreen/src/services.cpp
+++ b/plugins/SplashScreen/src/services.cpp
@@ -31,7 +31,7 @@ INT_PTR ShowSplashService(WPARAM wparam, LPARAM lparam)
TCHAR *pos = _tcsrchr(filename, _T(':'));
if (pos == NULL)
- mir_sntprintf(szSplashFile, _countof(szSplashFile), _T("%s\\%s"), szMirDir, filename);
+ mir_sntprintf(szSplashFile, _T("%s\\%s"), szMirDir, filename);
else
mir_tstrcpy(szSplashFile, filename);