From 8f4dc3c4e8b580082a4310a1e47dbb87758b6f4f Mon Sep 17 00:00:00 2001 From: Vadim Trochinsky Date: Mon, 17 May 2010 19:11:58 +0200 Subject: [PATCH] Fix separator in screenshot code --- Source/GameTick.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/GameTick.cpp b/Source/GameTick.cpp index 1d2fea2..e9ccdda 100644 --- a/Source/GameTick.cpp +++ b/Source/GameTick.cpp @@ -1184,7 +1184,7 @@ void Screenshot (void) char temp[1024]; time_t t = time(NULL); struct tm *tme = localtime(&t); - sprintf(temp, "Screenshots\\Screenshot_%04d_%02d_%02d--%02d_%02d_%02d.png", tme->tm_year + 1900, tme->tm_mon + 1, tme->tm_mday, tme->tm_hour, tme->tm_min, tme->tm_sec); + sprintf(temp, "Screenshots/Screenshot_%04d_%02d_%02d--%02d_%02d_%02d.png", tme->tm_year + 1900, tme->tm_mon + 1, tme->tm_mday, tme->tm_hour, tme->tm_min, tme->tm_sec); #if defined(_WIN32) mkdir("Screenshots"); -- 2.39.5