Skip to content

Commit

Permalink
Final refactoring pass
Browse files Browse the repository at this point in the history
Last tweak coming out of the previous manual changes.
  • Loading branch information
jbytheway committed Aug 14, 2019
1 parent 2c15e05 commit a85fdae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/output.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ int fold_and_print_from( const catacurses::window &w, const point &begin, int wi
break;
}
if( line_num >= begin_line ) {
wmove( w, point( begin.x, line_num + begin.y - begin_line ) );
wmove( w, begin + point( 0, -begin_line + line_num ) );
}
// split into colorable sections
std::vector<std::string> color_segments = split_by_color( textformatted[line_num] );
Expand Down

0 comments on commit a85fdae

Please sign in to comment.