From 3c9562a2f71995e2a6f6d6fee0bcead2bebfdebc Mon Sep 17 00:00:00 2001 From: jacob Date: Thu, 22 Feb 2007 21:31:59 +0000 Subject: [PATCH] Remove spurious semicolons from macros; their upset compilers that don't like mixing declarations and code (I accidentally tried to compile it with one such). git-svn-id: svn://svn.tartarus.org/sgt/puzzles@7313 cda61777-01e9-0310-a592-d414129be87e --- unfinished/sokoban.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/unfinished/sokoban.c b/unfinished/sokoban.c index bb2e68f..2d76954 100644 --- a/unfinished/sokoban.c +++ b/unfinished/sokoban.c @@ -99,8 +99,8 @@ #define BARREL_LABEL(b) ( (b)>='A'&&(b)<='Z' ? (b) : \ (b)>=1 && (b)<=26 ? (b)+('A'-1) : 0 ) -#define DX(d) (d == 0 ? -1 : d == 2 ? +1 : 0); -#define DY(d) (d == 1 ? -1 : d == 3 ? +1 : 0); +#define DX(d) (d == 0 ? -1 : d == 2 ? +1 : 0) +#define DY(d) (d == 1 ? -1 : d == 3 ? +1 : 0) #define FLASH_LENGTH 0.3F -- 2.11.0