summaryrefslogtreecommitdiffstats
path: root/include/gomo.h
diff options
context:
space:
mode:
authorscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-07-28 22:14:13 +0800
committerscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-07-28 22:14:13 +0800
commit86bdba90da39470708f7ec70883b9603b6b2c37d (patch)
treec671ef34379ff87b4965e26d8be9fe78c60d19f4 /include/gomo.h
parent4cfc18ee2c158e7e843a5a824203d63efaa86494 (diff)
downloadpttbbs-86bdba90da39470708f7ec70883b9603b6b2c37d.tar
pttbbs-86bdba90da39470708f7ec70883b9603b6b2c37d.tar.gz
pttbbs-86bdba90da39470708f7ec70883b9603b6b2c37d.tar.bz2
pttbbs-86bdba90da39470708f7ec70883b9603b6b2c37d.tar.lz
pttbbs-86bdba90da39470708f7ec70883b9603b6b2c37d.tar.xz
pttbbs-86bdba90da39470708f7ec70883b9603b6b2c37d.tar.zst
pttbbs-86bdba90da39470708f7ec70883b9603b6b2c37d.zip
Add color for gomo board. (The same way as in GO)
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2148 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include/gomo.h')
-rw-r--r--include/gomo.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/gomo.h b/include/gomo.h
index e2a5a5ca..b1228ba8 100644
--- a/include/gomo.h
+++ b/include/gomo.h
@@ -1,4 +1,4 @@
-/* $Id: gomo.h,v 1.2 2002/06/04 13:07:12 in2 Exp $ */
+/* $Id$ */
#ifndef _INCLUDE_GOMO_H
#define _INCLUDE_GOMO_H
@@ -11,8 +11,8 @@
#define BRDSIZ (15) /* ´Ñ½L³æÃä¤j¤p */
#endif
-#define BGOTO(x, y) move( 16 - y , x * 2 + 3)
-#define BGOTOCUR(x, y) move(16 - y, x * 2 + 4)
+#define BGOTO(x, y) move( 16 - (y) , (x) * 2 + 3)
+#define BGOTOCUR(x, y) move(16 - (y), (x) * 2 + 4 - 8)
/*
0 0 0 = #@# : len= 3 : NO 00 NO