Cleaning up pr #357

This commit is contained in:
Seppi 2017-10-30 18:25:57 -05:00
parent b85d2307e9
commit 39296a8fbf
1 changed files with 1 additions and 3 deletions

View File

@ -861,9 +861,7 @@ static void onConsoleKeymapCommand(Console* console, const char* param)
static void onConsoleVersionCommand(Console* console, const char* param)
{
printBack(console, "\n");
char msg[64] = {0};
sprintf(msg, "%i.%i.%i", TIC_VERSION_MAJOR, TIC_VERSION_MINOR, TIC_VERSION_PATCH);
consolePrint(console, msg, CONSOLE_BACK_TEXT_COLOR);
consolePrint(console, TIC_VERSION_LABEL, CONSOLE_BACK_TEXT_COLOR);
commandDone(console);
}