From b9209bedddf0614d6fe3d0c92e71fd767d07b5f0 Mon Sep 17 00:00:00 2001 From: "Zed A. Shaw" Date: Sun, 10 Aug 2025 12:29:53 -0400 Subject: [PATCH] Better error when you have duplicate map icons. --- tools/icongen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/icongen.cpp b/tools/icongen.cpp index 8fa53cb..3ef2021 100644 --- a/tools/icongen.cpp +++ b/tools/icongen.cpp @@ -214,7 +214,7 @@ void load_config(MapConfig& config, bool is_centered, std::string path, std::fun config.names.insert_or_assign(display, key); dbc::check(!config.colors.contains(display), - fmt::format("duplicate color for display={} key={}", + fmt::format("duplicate icon for display={} key={}", (int)display, (std::string)key)); dbc::check(data.contains("foreground"),