~mdw
/
sgt
/
puzzles
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Somehow I let a couple of // comments get past me when I accepted
[sgt/puzzles]
/
galaxies.c
diff --git
a/galaxies.c
b/galaxies.c
index
58e33eb
..
9e4f4fd
100644
(file)
--- a/
galaxies.c
+++ b/
galaxies.c
@@
-1216,8
+1216,8
@@
generate:
clear_game(state, 1);
ntries++;
clear_game(state, 1);
ntries++;
- /
/generate_pass(state, rs, scratch, 10, GP_DOTS);
- /
/generate_pass(state, rs, scratch, 100, 0);
+ /
* generate_pass(state, rs, scratch, 10, GP_DOTS); */
+ /
* generate_pass(state, rs, scratch, 100, 0); */
generate_pass(state, rs, scratch, 100, GP_DOTS);
game_update_dots(state);
generate_pass(state, rs, scratch, 100, GP_DOTS);
game_update_dots(state);
@@
-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;
} 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;
dot = NULL;