Better error when you have duplicate map icons.
This commit is contained in:
parent
8594568ff4
commit
b9209beddd
1 changed files with 1 additions and 1 deletions
|
@ -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"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue