... actually update.

This commit is contained in:
Alex Szpakowski
2016-10-29 00:29:20 -03:00
parent 25d889fa38
commit 06ff0e775e
340 changed files with 10970 additions and 5082 deletions
+1 -2
View File
@@ -55,12 +55,11 @@ char *SDLTest_TimestampToString(const time_t timestamp)
time_t copy;
static char buffer[64];
struct tm *local;
const char *fmt = "%x %X";
SDL_memset(buffer, 0, sizeof(buffer));
copy = timestamp;
local = localtime(&copy);
strftime(buffer, sizeof(buffer), fmt, local);
strftime(buffer, sizeof(buffer), "%x %X", local);
return buffer;
}