diff options
author | jkh <jkh@FreeBSD.org> | 1997-03-10 21:11:57 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1997-03-10 21:11:57 +0000 |
commit | d293740501a8d0e0849a257a9409d6187ce6fab5 (patch) | |
tree | 62d8475e39f33fb606271cdfe9074f0cb715e182 /usr.sbin/sysinstall/menus.c | |
parent | 130c16d5a4cb465550121172c4267dc2ee19e59d (diff) | |
download | FreeBSD-src-d293740501a8d0e0849a257a9409d6187ce6fab5.zip FreeBSD-src-d293740501a8d0e0849a257a9409d6187ce6fab5.tar.gz |
Sync with 2.2.
Diffstat (limited to 'usr.sbin/sysinstall/menus.c')
-rw-r--r-- | usr.sbin/sysinstall/menus.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/usr.sbin/sysinstall/menus.c b/usr.sbin/sysinstall/menus.c index acffa39..5d31fbe 100644 --- a/usr.sbin/sysinstall/menus.c +++ b/usr.sbin/sysinstall/menus.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: menus.c,v 1.121 1997/03/09 22:25:46 jkh Exp $ + * $Id: menus.c,v 1.122 1997/03/10 19:38:14 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -122,8 +122,10 @@ clearX11Fonts(dialogMenuItem *self) return DITEM_SUCCESS | DITEM_REDRAW; } -#define IS_DEVELOPER(dist, extra) (((dist) == (_DIST_DEVELOPER | (extra))) || ((dist) == (_DIST_DEVELOPER | DIST_DES | (extra)))) -#define IS_USER(dist, extra) (((dist) == (_DIST_USER | (extra))) || ((dist) == (_DIST_USER | DIST_DES | (extra)))) +#define IS_DEVELOPER(dist, extra) ((((dist) & (_DIST_DEVELOPER | (extra))) == (_DIST_DEVELOPER | (extra))) || \ + (((dist) & (_DIST_DEVELOPER | DIST_DES | (extra))) == (_DIST_DEVELOPER | DIST_DES | (extra)))) +#define IS_USER(dist, extra) ((((dist) & (_DIST_USER | (extra))) == (_DIST_USER | (extra))) || \ + (((dist) & (_DIST_USER | DIST_DES | (extra))) == (_DIST_USER | DIST_DES | (extra)))) static int checkDistDeveloper(dialogMenuItem *self) |