diff options
author | Jordan K. Hubbard <jkh@FreeBSD.org> | 2000-12-07 20:04:35 +0000 |
---|---|---|
committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 2000-12-07 20:04:35 +0000 |
commit | a630ff9a609929274a7331790faf4b29569fb229 (patch) | |
tree | 675b89c29f9776edc443819f1a00633084974522 | |
parent | a3cea3dde58da78da07d8e88dbfd424d10fd6c77 (diff) | |
download | src-a630ff9a609929274a7331790faf4b29569fb229.tar.gz src-a630ff9a609929274a7331790faf4b29569fb229.zip |
Fix bug where minimal dist selection didn't check off the right
menu item.
Noticed by: Dan "Sheepdip" Langille <dan@freebsddiary.org>
Notes
Notes:
svn path=/head/; revision=69717
-rw-r--r-- | release/sysinstall/menus.c | 2 | ||||
-rw-r--r-- | usr.sbin/sade/menus.c | 2 | ||||
-rw-r--r-- | usr.sbin/sysinstall/menus.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/release/sysinstall/menus.c b/release/sysinstall/menus.c index ff6a7551a5d2..9626fe68e90c 100644 --- a/release/sysinstall/menus.c +++ b/release/sysinstall/menus.c @@ -153,7 +153,7 @@ checkDistXUser(dialogMenuItem *self) static int checkDistMinimum(dialogMenuItem *self) { - return Dists == DIST_BIN; + return Dists == (DIST_BIN | DIST_CRYPTO); } static int diff --git a/usr.sbin/sade/menus.c b/usr.sbin/sade/menus.c index ff6a7551a5d2..9626fe68e90c 100644 --- a/usr.sbin/sade/menus.c +++ b/usr.sbin/sade/menus.c @@ -153,7 +153,7 @@ checkDistXUser(dialogMenuItem *self) static int checkDistMinimum(dialogMenuItem *self) { - return Dists == DIST_BIN; + return Dists == (DIST_BIN | DIST_CRYPTO); } static int diff --git a/usr.sbin/sysinstall/menus.c b/usr.sbin/sysinstall/menus.c index ff6a7551a5d2..9626fe68e90c 100644 --- a/usr.sbin/sysinstall/menus.c +++ b/usr.sbin/sysinstall/menus.c @@ -153,7 +153,7 @@ checkDistXUser(dialogMenuItem *self) static int checkDistMinimum(dialogMenuItem *self) { - return Dists == DIST_BIN; + return Dists == (DIST_BIN | DIST_CRYPTO); } static int |