diff options
| author | Jacob Nevins <jacobn@chiark.greenend.org.uk> | 2007-02-22 21:31:59 +0000 |
|---|---|---|
| committer | Jacob Nevins <jacobn@chiark.greenend.org.uk> | 2007-02-22 21:31:59 +0000 |
| commit | 2b384fae11bd6be37040e5b07d77e92721ed786b (patch) | |
| tree | d69dfb05a2f0b74671fbb49f09a71abb757aec38 | |
| parent | 9f9a1368a944207ebd1eef736c62043d8c0d4135 (diff) | |
| download | puzzles-2b384fae11bd6be37040e5b07d77e92721ed786b.zip puzzles-2b384fae11bd6be37040e5b07d77e92721ed786b.tar.gz puzzles-2b384fae11bd6be37040e5b07d77e92721ed786b.tar.bz2 puzzles-2b384fae11bd6be37040e5b07d77e92721ed786b.tar.xz | |
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]
| -rw-r--r-- | unfinished/sokoban.c | 4 |
1 files 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 |