pluralize plural plurals

develop
Myk Taylor 2023-02-18 01:25:24 -08:00
parent 2477a23972
commit daa812b21e
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

@ -407,7 +407,7 @@ static void printStatus(color_ostream &out) {
out.print("Waiting for %d item(s) to be produced for %zd building(s):\n",
total, planned_buildings.size());
for (auto &count : counts)
out.print(" %3d %s\n", count.second, count.first.c_str());
out.print(" %3d %s%s\n", count.second, count.first.c_str(), count.second == 1 ? "" : "s");
} else {
out.print("Currently no planned buildings\n");
}