From 477b5b9d9494d2cd8c0564d7038bd4a74dffbee0 Mon Sep 17 00:00:00 2001 From: Valiant Date: Wed, 12 Feb 2020 01:47:51 +0400 Subject: [PATCH] Tweaked description window x start point --- src/newcharacter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/newcharacter.cpp b/src/newcharacter.cpp index 8e38efc495c45..7fa2b4962be4d 100644 --- a/src/newcharacter.cpp +++ b/src/newcharacter.cpp @@ -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" );