(svn r3788) Fix (harmless) typo in r3784

This commit is contained in:
tron 2006-03-08 08:36:00 +00:00
parent ab9af3b05d
commit 80878a2c9b

View File

@ -34,7 +34,7 @@ typedef enum DirDiff {
static inline DirDiff DirDifference(Direction d0, Direction d1) static inline DirDiff DirDifference(Direction d0, Direction d1)
{ {
return (DirDiff)(d0 + 8 - d1) % 8; return (DirDiff)((d0 + 8 - d1) % 8);
} }
static inline DirDiff ChangeDirDiff(DirDiff d, DirDiff delta) static inline DirDiff ChangeDirDiff(DirDiff d, DirDiff delta)