summaryrefslogtreecommitdiff
path: root/plugins/SplashScreen/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/SplashScreen/src')
-rw-r--r--plugins/SplashScreen/src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/SplashScreen/src/main.cpp b/plugins/SplashScreen/src/main.cpp
index b143b9d756..e6d9106950 100644
--- a/plugins/SplashScreen/src/main.cpp
+++ b/plugins/SplashScreen/src/main.cpp
@@ -166,7 +166,7 @@ void SplashMain()
} //if
} while (FindNextFile(hFind, &ffd));
- srand((unsigned)time(nullptr));
+ srand((unsigned)time(0));
int r = 0;
if (filescount) r = (rand() % filescount) + 1;