diff options
Diffstat (limited to 'apps/plugins/chessbox')
-rw-r--r-- | apps/plugins/chessbox/gnuchess.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/chessbox/gnuchess.c b/apps/plugins/chessbox/gnuchess.c index b8fef724fc..5c30c6a6df 100644 --- a/apps/plugins/chessbox/gnuchess.c +++ b/apps/plugins/chessbox/gnuchess.c | |||
@@ -60,7 +60,7 @@ | |||
60 | #define maxdepth 30 | 60 | #define maxdepth 30 |
61 | #define true 1 | 61 | #define true 1 |
62 | #define false 0 | 62 | #define false 0 |
63 | #define absv(x) ((x) < 0 ? -(x) : (x)) | 63 | #define absv(x) (ABS(x)) |
64 | #define taxicab(a,b) (abs(column[a]-column[b]) + abs(row[a]-row[b])) | 64 | #define taxicab(a,b) (abs(column[a]-column[b]) + abs(row[a]-row[b])) |
65 | 65 | ||
66 | /* ---- Chess datatypes and variables ---- */ | 66 | /* ---- Chess datatypes and variables ---- */ |