Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/frontend/StarContainerInterface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/frontend/StarContainerInterface.cpp')
-rw-r--r--source/frontend/StarContainerInterface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/frontend/StarContainerInterface.cpp b/source/frontend/StarContainerInterface.cpp
index e94c25c..9f80a94 100644
--- a/source/frontend/StarContainerInterface.cpp
+++ b/source/frontend/StarContainerInterface.cpp
@@ -129,7 +129,7 @@ ContainerPane::ContainerPane(WorldClientPtr worldClient, PlayerPtr player, Conta
m_reader.construct(guiConfig.get("gui"), this);
if (auto countWidget = fetchChild<LabelWidget>("count"))
- countWidget->setText(countWidget->text().replace("<slots>", strf("%s", container->containerSize())));
+ countWidget->setText(countWidget->text().replace("<slots>", strf("{}", container->containerSize())));
m_itemBag = make_shared<ItemBag>(container->containerSize());
auto items = container->containerItems();