fix encoding of cleanowned output

develop
Myk Taylor 2023-10-05 14:25:14 -07:00
parent 194fb49f88
commit b68a317c05
No known key found for this signature in database
1 changed files with 2 additions and 2 deletions

@ -147,14 +147,14 @@ command_result df_cleanowned (color_ostream &out, vector <string> & parameters)
out.print(
"[%d] %s (wear level %d)",
item->id,
description.c_str(),
DF2CONSOLE(description).c_str(),
item->getWear()
);
df::unit *owner = Items::getOwner(item);
if (owner)
out.print(", owner %s", Translation::TranslateName(&owner->name,false).c_str());
out.print(", owner %s", DF2CONSOLE(Translation::TranslateName(&owner->name,false)).c_str());
if (!dry_run)
{