From 7e83dd073e0bc322b975df66d061a6f7fe059bf1 Mon Sep 17 00:00:00 2001 From: Mattes D Date: Mon, 19 Jun 2023 16:37:51 +0200 Subject: Fixed a wrong format string. Thanks to dyexlzc for noticing. --- src/BlockType.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BlockType.cpp b/src/BlockType.cpp index 40bb00f95..9942c455a 100644 --- a/src/BlockType.cpp +++ b/src/BlockType.cpp @@ -260,7 +260,7 @@ AString ItemTypeToString(short a_ItemType) AString ItemToFullString(const cItem & a_Item) { - return fmt::format(FMT_STRING("{}:{} * {}"), ItemToString(a_Item), a_Item.m_ItemDamage, a_Item.m_ItemCount); + return fmt::format(FMT_STRING("{}:{} * {:d}"), ItemToString(a_Item), a_Item.m_ItemDamage, a_Item.m_ItemCount); } -- cgit v1.2.3