An assert was getting triggered in format.cc when the line wrapping used in display_overmap placed a line break after a text color tag was opened and before it was closed. This was happening with the brown text used for shop locations and also the yellow text used for branch locations.
Using linebreak_string2 instead of linebreak_string takes care of the shop location lines since it places line breaks on whitespace. For the branch location strings placing the padding spaces after the </yellow> tag instead of between the tags took care of the issue.
A more principled thing to do would be to make formatted_scroller keep track of what tags are open across line breaks, but I got lazy.
LCZN2M2J3FGXYBPHVTSRKA2U3SQNPGDUC7GSVWGMP5J4ZVW63TQQC snprintf(buffer, sizeof buffer, "<yellow>%-6s</yellow>: %-7s",branches[branch].abbrevname,
// Changing this up a little bit because there is an issue// with linebreaks getting placed in between the <yellow>// and </yellow> tags if there are any spaces. It seems// easier to put the spaces after the closing tag than to// make the linebreak/formatted string stuff less dumb.// -cao////snprintf(buffer, sizeof buffer, "<yellow>%-6s</yellow>: %-7s",// branches[branch].abbrevname,// stair_level[branch].describe(false, true).c_str());std::string merged=branches[branch].abbrevname +std::string("</yellow>");snprintf(buffer, sizeof buffer, "<yellow>%-15s: %-7s",merged.c_str(),