summaryrefslogtreecommitdiffstats
path: root/include/pttstruct.h
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-04-21 04:28:21 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-04-21 04:28:21 +0800
commit80d6431f5d2fa48f925712ccd98c1983404e7ee9 (patch)
tree6411ae9d890ba61413664da1f37f468259f4281c /include/pttstruct.h
parent82664ae2ecc5db24c614f7a625e859975f55a6b5 (diff)
downloadpttbbs-80d6431f5d2fa48f925712ccd98c1983404e7ee9.tar
pttbbs-80d6431f5d2fa48f925712ccd98c1983404e7ee9.tar.gz
pttbbs-80d6431f5d2fa48f925712ccd98c1983404e7ee9.tar.bz2
pttbbs-80d6431f5d2fa48f925712ccd98c1983404e7ee9.tar.lz
pttbbs-80d6431f5d2fa48f925712ccd98c1983404e7ee9.tar.xz
pttbbs-80d6431f5d2fa48f925712ccd98c1983404e7ee9.tar.zst
pttbbs-80d6431f5d2fa48f925712ccd98c1983404e7ee9.zip
revert cuser from pointer to buffer.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1798 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include/pttstruct.h')
-rw-r--r--include/pttstruct.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/pttstruct.h b/include/pttstruct.h
index 48c35d49..80cef86c 100644
--- a/include/pttstruct.h
+++ b/include/pttstruct.h
@@ -114,7 +114,7 @@ typedef struct userec_t {
#define WATER_ORIG 0x0
#define WATER_NEW 0x1
#define WATER_OFO 0x2
-#define WATERMODE(mode) ((cuser->uflag2 & WATER_MASK) == mode)
+#define WATERMODE(mode) ((cuser.uflag2 & WATER_MASK) == mode)
#define FAVNOHILIGHT 0x10 /* false if hilight favorite */
#define FAVNEW_FLAG 0x20 /* true if add new board into one's fav */
#define FOREIGN 0x100 /* true if a foreign */