From 216147c03a8844b51b46a1e199441fcb6a1f376a Mon Sep 17 00:00:00 2001 From: simon Date: Tue, 28 Jun 2005 08:06:56 +0000 Subject: [PATCH] Move a rogue declaration to the top of its block. git-svn-id: svn://svn.tartarus.org/sgt/puzzles@6027 cda61777-01e9-0310-a592-d414129be87e --- net.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net.c b/net.c index 6feabda..3b1339a 100644 --- a/net.c +++ b/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') { -- 2.11.0