From: Jacob Nevins Date: Thu, 22 Feb 2007 21:31:59 +0000 (+0000) Subject: Remove spurious semicolons from macros; their upset compilers that don't like X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=2b384fae11bd6be37040e5b07d77e92721ed786b;p=sgt-puzzles.git 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). [originally from svn r7313] --- 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