fix style

This commit is contained in:
bencie 2024-02-18 19:12:05 +01:00
parent 8b89a78e7f
commit 29a9604cc6

View file

@ -690,7 +690,7 @@ const char *FormatTime(float Time)
int Minutes = (int)Time / 60 % 60; int Minutes = (int)Time / 60 % 60;
float Seconds = Time - ((int)Time / 60 * 60); float Seconds = Time - ((int)Time / 60 * 60);
static char sTimeString [128] = ""; static char sTimeString[128] = "";
memset(sTimeString, 0, sizeof(sTimeString)); // clear buffer memset(sTimeString, 0, sizeof(sTimeString)); // clear buffer
if(Days > 0) if(Days > 0)