Skip to content

Commit

Permalink
Merge pull request #10102 from KA101/braces
Browse files Browse the repository at this point in the history
Fix, 2d
  • Loading branch information
KA101 committed Nov 20, 2014
2 parents 3352546 + f69008b commit d9509b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ranged.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -947,7 +947,7 @@ std::vector<point> game::target(int &x, int &y, int lowx, int lowy, int hix,
int height = 17;
int width = getmaxx(w_messages);
// Overlap the player info window.
int top = -1 + sideStyle ? getbegy(w_messages) : (getbegy(w_minimap) + getmaxy(w_minimap));
int top = -1 + (sideStyle ? getbegy(w_messages) : (getbegy(w_minimap) + getmaxy(w_minimap)) );
int left = getbegx(w_messages);
WINDOW *w_target = newwin(height, width, top, left);
WINDOW_PTR w_targetptr( w_target );
Expand Down

0 comments on commit d9509b5

Please sign in to comment.