diff --git a/src/avatar.cpp b/src/avatar.cpp index a058ed617c869..64acda77047f4 100644 --- a/src/avatar.cpp +++ b/src/avatar.cpp @@ -1036,7 +1036,7 @@ nc_color avatar::basic_symbol_color() const int avatar::print_info( const catacurses::window &w, int vStart, int, int column ) const { - return vStart + fold_and_print( w, point( column, vStart ), getmaxx( w ), c_dark_gray, + return vStart + fold_and_print( w, point( column, vStart ), getmaxx( w ) - column - 1, c_dark_gray, _( "You (%s)" ), name ) - 1; } diff --git a/src/npc.cpp b/src/npc.cpp index 0ff293bb877c3..2ebd0cbf9ee0e 100644 --- a/src/npc.cpp +++ b/src/npc.cpp @@ -2297,7 +2297,7 @@ nc_color npc::basic_symbol_color() const int npc::print_info( const catacurses::window &w, int line, int vLines, int column ) const { const int last_line = line + vLines; - const int iWidth = getmaxx( w ) - 2; + const int iWidth = getmaxx( w ) - 1 - column; // First line of w is the border; the next 4 are terrain info, and after that // is a blank line. w is 13 characters tall, and we can't use the last one // because it's a border as well; so we have lines 6 through 11.