From: handa Date: Wed, 16 May 2007 01:33:25 +0000 (+0000) Subject: (MPLIST_SET_NESTED_P): Return 1 iff plist->control.flag X-Git-Tag: FLT-base~60 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=a1091d85fae546c09b6fa0b7c8583dc48b7a7e9a;p=m17n%2Fm17n-lib.git (MPLIST_SET_NESTED_P): Return 1 iff plist->control.flag is set as nested. --- diff --git a/src/plist.h b/src/plist.h index 931762f..80f94aa 100644 --- a/src/plist.h +++ b/src/plist.h @@ -59,7 +59,7 @@ struct MPlist #define MPLIST_PLIST_P(plist) (MPLIST_KEY (plist) == Mplist) #define MPLIST_NESTED_P(plist) \ - (MPLIST_PLIST_P (plist) || ((plist)->control.flag & 1)) + ((plist)->control.flag & 1) #define MPLIST_SET_NESTED_P(plist) \ ((plist)->control.flag |= 1)