diff options
author | Stijn Buys <ingar@osirion.org> | 2014-07-08 16:53:25 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2014-07-08 16:53:25 +0000 |
commit | 1156ad6ef67f66166a0ca8dccac69f6b8a3e3efe (patch) | |
tree | 8b6041b9158d9aec5a1f59a75e48ac9fc76ec7e5 /src | |
parent | 51175c2ffb55ed157e1f609e02e533f319a3717d (diff) |
Small cosmetic update to the list_info engine function.
Diffstat (limited to 'src')
-rw-r--r-- | src/core/info.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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; |