]> git.jsancho.org Git - lugaru.git/commitdiff
Fix separator in screenshot code
authorVadim Trochinsky <vadim.trochinsky@gmail.com>
Mon, 17 May 2010 17:11:58 +0000 (19:11 +0200)
committerVadim Trochinsky <vadim.trochinsky@gmail.com>
Mon, 17 May 2010 17:11:58 +0000 (19:11 +0200)
Source/GameTick.cpp

index 1d2fea295805ae5db2f783f0f7241139c5c4ebd8..e9ccddaf0ccdc87415e6ee0e4412c271828b557d 100644 (file)
@@ -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");