Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
remove leftover comment and center colors legend for english
  • Loading branch information
Kilvoctu committed May 8, 2020
1 parent e633595 commit 9545ca3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/output.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/ranged.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 = _( "<color_green>Great</color> - <color_light_gray>Normal</color>"
std::string symbols = _( " <color_green>Great</color> - <color_light_gray>Normal</color>"
" - <color_magenta>Graze</color> - <color_light_blue>Moves</color>" );
fold_and_print( w, point( 1, line_number++ ), window_width + bars_pad,
c_dark_gray, symbols );
Expand Down

0 comments on commit 9545ca3

Please sign in to comment.