Skip to content

Commit

Permalink
Change format specifiers in call to strftime()
Browse files Browse the repository at this point in the history
But actually do it this time...
  • Loading branch information
bradharding committed Aug 28, 2015
1 parent 85b4baa commit c450b37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/c_console.c
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ void C_PlayerMessage(char *string, ...)

time(&rawtime);
timeinfo = localtime(&rawtime);
strftime(buffer, sizeof(buffer), "%T", timeinfo);
strftime(buffer, sizeof(buffer), "%H:%M:%S", timeinfo);
console[consolestrings].timestamp = strdup(buffer);

++consolestrings;
Expand Down

0 comments on commit c450b37

Please sign in to comment.