summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
f96188f)
because I'm clearly too sleepy to get it right.
git-svn-id: svn://svn.tartarus.org/sgt/puzzles@7312
cda61777-01e9-0310-a592-
d414129be87e
} else if (button == RIGHT_BUTTON) {
int px1, py1;
} else if (button == RIGHT_BUTTON) {
int px1, py1;
- px = 2*(int)(FROMCOORD((float)x) + 0.5);
- py = 2*(int)(FROMCOORD((float)y) + 0.5);
+ px = (int)(2*FROMCOORD((float)x) + 0.5);
+ py = (int)(2*FROMCOORD((float)y) + 0.5);