chiark
/
gitweb
/
~ian
/
sgt-puzzles.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f9a136
)
Remove spurious semicolons from macros; their upset compilers that don't like
author
Jacob Nevins
<jacobn@chiark.greenend.org.uk>
Thu, 22 Feb 2007 21:31:59 +0000
(21:31 +0000)
committer
Jacob Nevins
<jacobn@chiark.greenend.org.uk>
Thu, 22 Feb 2007 21:31:59 +0000
(21:31 +0000)
mixing declarations and code (I accidentally tried to compile it with one
such).
[originally from svn r7313]
unfinished/sokoban.c
patch
|
blob
|
history
diff --git
a/unfinished/sokoban.c
b/unfinished/sokoban.c
index bb2e68fe2c4e317bd120a0a92cf21eb23fb9ce44..2d76954e2958d8b92e67f3815e693e435ee49251 100644
(file)
--- 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