Remove spurious semicolons from macros; their upset compilers that don't like
authorjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Thu, 22 Feb 2007 21:31:59 +0000 (21:31 +0000)
committerjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Thu, 22 Feb 2007 21:31:59 +0000 (21:31 +0000)
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

index bb2e68f..2d76954 100644 (file)
@@ -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