Skip to content

Commit

Permalink
Tweaked description window x start point
Browse files Browse the repository at this point in the history
  • Loading branch information
Night-Pryanik committed Feb 11, 2020
1 parent a619b02 commit 477b5b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/newcharacter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -734,7 +734,7 @@ tab_direction set_points( const catacurses::window &w, avatar &, points_left &po
tab_direction set_stats( const catacurses::window &w, avatar &u, points_left &points )
{
unsigned char sel = 1;
const int iSecondColumn = utf8_width( points.to_string(), true ) + 9;
const int iSecondColumn = std::max( 27, utf8_width( points.to_string(), true ) + 9 );
input_context ctxt( "NEW_CHAR_STATS" );
ctxt.register_cardinal();
ctxt.register_action( "PREV_TAB" );
Expand Down

0 comments on commit 477b5b9

Please sign in to comment.