Skip to content

Commit

Permalink
Fix parentheses
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhilkinSerg committed Aug 20, 2023
1 parent 578fae5 commit b6bd1e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/medical_ui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ static void draw_medical_titlebar( const catacurses::window &window, avatar *pla
const std::string TITLE_STR = "Medical";

// Window Title
if( WIDTH - ( details_width + utf8_width( TITLE_STR ) > WIDTH / 2 ) ) {
if( WIDTH - details_width - utf8_width( TITLE_STR ) > WIDTH / 2 ) {
center_print( window, 0, c_blue, _( TITLE_STR ) );
}
}
Expand Down

0 comments on commit b6bd1e6

Please sign in to comment.