From 4f33bef43ce33b008c0ab55b3259eb2e15874680 Mon Sep 17 00:00:00 2001 From: David Capello Date: Mon, 4 May 2015 16:08:15 -0300 Subject: [PATCH] Command::short_name() is id() now (Fix compilation in Release mode.) --- src/app/context.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/context.cpp b/src/app/context.cpp index e19051cee..322c5aa41 100644 --- a/src/app/context.cpp +++ b/src/app/context.cpp @@ -99,7 +99,7 @@ void Context::executeCommand(Command* command, const Params& params) #ifndef DEBUGMODE catch (...) { PRINTF("unknown exception executing '%s' command\n", - command->short_name()); + command->id().c_str()); console.printf("An unknown error ocurred executing the command.\n" "Please save your work, close the program, try it\n"