Skip to content

Commit

Permalink
Port curses calls to changed UIs
Browse files Browse the repository at this point in the history
Some further calls needed to change that weren't caught by automatic
refactoring because they aren't part of the tiles build.
  • Loading branch information
jbytheway committed Aug 14, 2019
1 parent 8399096 commit 5a00e8f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/animation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,7 @@ void game::draw_cursor( const tripoint &p )
void game::draw_cursor( const tripoint &p )
{
const tripoint rp = relative_view_pos( *this, p );
mvwputch_inv( w_terrain, rp.y, rp.x, c_light_green, 'X' );
mvwputch_inv( w_terrain, rp.xy(), c_light_green, 'X' );
}
#endif

Expand Down
3 changes: 2 additions & 1 deletion src/game.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11268,7 +11268,8 @@ void intro()
const char *unicode_error_msg =
_( "You don't seem to have a valid Unicode locale. You may see some weird "
"characters (e.g. empty boxes or question marks). You have been warned." );
fold_and_print( tmp, 0, 0, maxx, c_white, unicode_error_msg, minWidth, minHeight, maxx, maxy );
fold_and_print( tmp, point_zero, maxx, c_white, unicode_error_msg, minWidth, minHeight,
maxx, maxy );
wrefresh( tmp );
inp_mngr.wait_for_any_key();
werase( tmp );
Expand Down

0 comments on commit 5a00e8f

Please sign in to comment.