CLI: Fix object name in 'object list'

refs #7251
This commit is contained in:
Michael Friedrich 2014-10-15 14:29:00 +02:00
parent 153693d284
commit 32feea8d7f
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ void ObjectListCommand::ReadObject(const String& message, std::map<String, int>&
else
msgbuf << "Object '";
msgbuf << "\x1b[1;37m" << name << "\x1b[0m" << "'"; //light gray
msgbuf << "\x1b[1;37m" << properties->Get("__name") << "\x1b[0m" << "'"; //light gray
msgbuf << " of type '" << "\x1b[1;34m" << type << "\x1b[0m" << "':\n"; //blue
msgbuf << FormatProperties(properties, debug_hints, 2);