From 332983c97b7a729c4dc5f19aa9ee4a22c420f7d8 Mon Sep 17 00:00:00 2001 From: Kae <80987908+Novaenia@users.noreply.github.com> Date: Tue, 27 Jun 2023 20:23:44 +1000 Subject: The Formatting String Catastrophe --- source/frontend/StarTeleportDialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/frontend/StarTeleportDialog.cpp') diff --git a/source/frontend/StarTeleportDialog.cpp b/source/frontend/StarTeleportDialog.cpp index eef6250..76f0310 100644 --- a/source/frontend/StarTeleportDialog.cpp +++ b/source/frontend/StarTeleportDialog.cpp @@ -57,7 +57,7 @@ TeleportDialog::TeleportDialog(UniverseClientPtr client, entry->fetchChild("planetName")->setText(dest.getString("planetName", "")); if (dest.contains("icon")) entry->fetchChild("icon")->setImage( - strf("/interface/bookmarks/icons/%s.png", dest.getString("icon"))); + strf("/interface/bookmarks/icons/{}.png", dest.getString("icon"))); entry->fetchChild("editButton")->hide(); if (dest.getBool("mission", false)) { -- cgit v1.2.3