From b68a317c052e555c491a223ed75b51413ba4bc97 Mon Sep 17 00:00:00 2001 From: Myk Taylor Date: Thu, 5 Oct 2023 14:25:14 -0700 Subject: [PATCH] fix encoding of cleanowned output --- plugins/cleanowned.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/cleanowned.cpp b/plugins/cleanowned.cpp index 3fece8bfe..c13f7826c 100644 --- a/plugins/cleanowned.cpp +++ b/plugins/cleanowned.cpp @@ -147,14 +147,14 @@ command_result df_cleanowned (color_ostream &out, vector & 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) {