Fix: Left-over printf-style format passed to fmt. (#11584)
This commit is contained in:
@@ -82,7 +82,7 @@ TileIndex TileAdd(TileIndex tile, TileIndexDiff add,
|
||||
y = TileY(tile) + dy;
|
||||
|
||||
if (x >= Map::SizeX() || y >= Map::SizeY()) {
|
||||
std::string message = fmt::format("TILE_ADD({}) when adding 0x{:04X} and 0x{%04X} failed",
|
||||
std::string message = fmt::format("TILE_ADD({}) when adding 0x{:04X} and 0x{:04X} failed",
|
||||
exp, tile, add);
|
||||
#if !defined(_MSC_VER)
|
||||
fmt::print(stderr, "{}:{} {}\n", file, line, message);
|
||||
|
Reference in New Issue
Block a user