Fixed a wrong format string.

Thanks to dyexlzc for noticing.
This commit is contained in:
Mattes D 2023-06-19 16:37:51 +02:00
parent 4fe144de35
commit 7e83dd073e

View File

@ -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);
}