From 9545ca335cd91b474efc16cc8aa2c14a2829eb43 Mon Sep 17 00:00:00 2001 From: Kilvoctu Date: Thu, 7 May 2020 23:33:10 -0500 Subject: [PATCH] cleanup remove leftover comment and center colors legend for english --- src/output.cpp | 2 +- src/ranged.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/output.cpp b/src/output.cpp index 123b7e56337c4..0e1434be74e62 100644 --- a/src/output.cpp +++ b/src/output.cpp @@ -1839,7 +1839,7 @@ void insert_table( const catacurses::window &w, int pad, int line, int columns, { const int width = getmaxx( w ); const int rows = getmaxy( w ); - const int col_width = ( ( width - pad ) / columns );// + utf8_width( divider ) ; + const int col_width = ( ( width - pad ) / columns ); int indent = 1; // 1 for right window border if( r_align ) { indent = ( col_width * columns ) + 1; diff --git a/src/ranged.cpp b/src/ranged.cpp index 1c2cc57d1d1ed..97a290a1011ad 100644 --- a/src/ranged.cpp +++ b/src/ranged.cpp @@ -1272,7 +1272,7 @@ static int print_ranged_chance( const player &p, const catacurses::window &w, in line_number++; } if( ( panel_type == "compact" || panel_type == "labels-narrow" ) && display_type == "numbers" ) { - std::string symbols = _( "Great - Normal" + std::string symbols = _( " Great - Normal" " - Graze - Moves" ); fold_and_print( w, point( 1, line_number++ ), window_width + bars_pad, c_dark_gray, symbols );