From: Vadim Trochinsky Date: Mon, 17 May 2010 17:11:58 +0000 (+0200) Subject: Fix separator in screenshot code X-Git-Url: https://git.jsancho.org/?a=commitdiff_plain;h=8f4dc3c4e8b580082a4310a1e47dbb87758b6f4f;p=lugaru.git Fix separator in screenshot code --- 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");