Skip to content

Commit

Permalink
Ignore tags
Browse files Browse the repository at this point in the history
Ignore tags when getting the width of the overmap corner text
  • Loading branch information
AMurkin committed Jan 30, 2020
1 parent 1cef694 commit 66b95c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/overmap_ui.cpp
Expand Up @@ -861,7 +861,7 @@ void draw( const catacurses::window &w, const catacurses::window &wbar, const tr
if( !corner_text.empty() ) {
int maxlen = 0;
for( const auto &line : corner_text ) {
maxlen = std::max( maxlen, utf8_width( line.second ) );
maxlen = std::max( maxlen, utf8_width( line.second, true ) );
}

mvwputch( w, point_south_east, c_white, LINE_OXXO );
Expand Down

0 comments on commit 66b95c5

Please sign in to comment.