Add a space between abilities in sidebar

(for readability and because now ellipsis works better)
This commit is contained in:
Ali El Gariani 2010-05-14 20:27:37 +00:00
parent 84f68f8c2c
commit c1214bfe08

View file

@ -190,7 +190,7 @@ report generate_report(TYPE type,
for(std::vector<std::string>::const_iterator i = abilities.begin(); i != abilities.end(); ++i) {
str << gettext(i->c_str());
if(i+2 != abilities.end())
str << ",";
str << ", ";
++i;
//FIXME pull out ability's name from description
tooltip << _("Ability:") << "\n"