mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 16:05:44 -07:00
Move a rogue declaration to the top of its block.
[originally from svn r6027]
This commit is contained in:
2
net.c
2
net.c
@ -1981,6 +1981,7 @@ static char *interpret_move(game_state *state, game_ui *ui,
|
||||
sprintf(buf, "L%d,%d", tx, ty);
|
||||
return dupstr(buf);
|
||||
} else if (button == LEFT_BUTTON || button == RIGHT_BUTTON) {
|
||||
char buf[80];
|
||||
|
||||
/*
|
||||
* The left and right buttons have no effect if clicked on a
|
||||
@ -1993,7 +1994,6 @@ static char *interpret_move(game_state *state, game_ui *ui,
|
||||
* Otherwise, turn the tile one way or the other. Left button
|
||||
* turns anticlockwise; right button turns clockwise.
|
||||
*/
|
||||
char buf[80];
|
||||
sprintf(buf, "%c%d,%d", (button == LEFT_BUTTON ? 'A' : 'C'), tx, ty);
|
||||
return dupstr(buf);
|
||||
} else if (button == 'J') {
|
||||
|
Reference in New Issue
Block a user