[LOG] Fix alignment

This commit is contained in:
retro-wertz 2019-03-03 06:36:53 +08:00
parent 5cb2e9f54c
commit dcd76a0d2d

View File

@ -2396,11 +2396,11 @@ bool rarch_ctl(enum rarch_ctl_state state, void *data)
runtime_log_convert_usec2hms(libretro_core_runtime_usec, &hours, &minutes, &seconds);
n = snprintf(log, sizeof(log),
"Content ran for a total of: %02u hours, %02u minutes, %02u seconds.\n ",
"Content ran for a total of: %02u hours, %02u minutes, %02u seconds.",
hours, minutes, seconds);
if ((n < 0) || (n >= PATH_MAX_LENGTH))
n = 0; /* Just silence any potential gcc warnings... */
RARCH_LOG(log);
RARCH_LOG("%s\n",log);
/* Only write to file if logging is enabled *and* content has run
* for a non-zero length of time */