From 1156ad6ef67f66166a0ca8dccac69f6b8a3e3efe Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Tue, 8 Jul 2014 16:53:25 +0000 Subject: Small cosmetic update to the list_info engine function. --- src/core/info.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core') diff --git a/src/core/info.cc b/src/core/info.cc index 5fef028..ad630a9 100644 --- a/src/core/info.cc +++ b/src/core/info.cc @@ -246,7 +246,7 @@ void Info::receive_server_update(std::istream &is) void Info::print() const { - con_print << " id: ^B" << std::setw(4) << id() << " type: ^B" << (type() ? type()->label() : "NULL") << " ^Nlabel: ^B" << label() << " ^Nname: ^B" << name() << " ^Nmodel: ^B" << modelname() << "^N" << std::endl; + con_print << " id: ^B" << std::setw(4) << std::setfill(' ') << id() << " type: ^B" << (type() ? type()->label() : "NULL") << " ^Nlabel: ^B" << label() << " ^Nname: ^B" << name() << " ^Nmodel: ^B" << modelname() << "^N" << std::endl; if (info_text.size()) { for (Text::const_iterator it = info_text.begin(); it != info_text.end(); it++) { con_print << " " << (*it) << std::endl; -- cgit v1.2.3