Fix f6c5da4cad: dump_info should not reverse non-ASCII label. (#14697)

Cargo/rail/road types labels are already in appropriate endian-ness.
This commit is contained in:
Peter Nelson
2025-10-03 22:28:28 +01:00
committed by dP
parent ebd13f353f
commit 62e9ac00b9
+1 -1
View File
@@ -2701,7 +2701,7 @@ static std::string FormatLabel(uint32_t label)
return fmt::format("{:c}{:c}{:c}{:c}", GB(label, 24, 8), GB(label, 16, 8), GB(label, 8, 8), GB(label, 0, 8));
}
return fmt::format("{:08X}", std::byteswap(label));
return fmt::format("{:08X}", label);
}
static void ConDumpRoadTypes()