diff options
| author | Simon Tatham <anakin@pobox.com> | 2007-02-22 19:05:10 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2007-02-22 19:05:10 +0000 |
| commit | 9f9a1368a944207ebd1eef736c62043d8c0d4135 (patch) | |
| tree | bbdf3e1185b141c37bcb13ed9f94865cf96d0d22 | |
| parent | 8c0890a331d93c9d12ef782601b9953463872fc6 (diff) | |
| download | puzzles-9f9a1368a944207ebd1eef736c62043d8c0d4135.zip puzzles-9f9a1368a944207ebd1eef736c62043d8c0d4135.tar.gz puzzles-9f9a1368a944207ebd1eef736c62043d8c0d4135.tar.bz2 puzzles-9f9a1368a944207ebd1eef736c62043d8c0d4135.tar.xz | |
And fix the error _I_ made in r7311. I should stop coding now,
because I'm clearly too sleepy to get it right.
[originally from svn r7312]
[r7311 == 8c0890a331d93c9d12ef782601b9953463872fc6]
| -rw-r--r-- | galaxies.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2225,8 +2225,8 @@ static char *interpret_move(game_state *state, game_ui *ui, game_drawstate *ds, } 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); dot = NULL; |