Fix bug where minimal dist selection didn't check off the right
menu item. Noticed by: Dan "Sheepdip" Langille <dan@freebsddiary.org>
This commit is contained in:
parent
a3cea3dde5
commit
a630ff9a60
@ -153,7 +153,7 @@ checkDistXUser(dialogMenuItem *self)
|
|||||||
static int
|
static int
|
||||||
checkDistMinimum(dialogMenuItem *self)
|
checkDistMinimum(dialogMenuItem *self)
|
||||||
{
|
{
|
||||||
return Dists == DIST_BIN;
|
return Dists == (DIST_BIN | DIST_CRYPTO);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
|
@ -153,7 +153,7 @@ checkDistXUser(dialogMenuItem *self)
|
|||||||
static int
|
static int
|
||||||
checkDistMinimum(dialogMenuItem *self)
|
checkDistMinimum(dialogMenuItem *self)
|
||||||
{
|
{
|
||||||
return Dists == DIST_BIN;
|
return Dists == (DIST_BIN | DIST_CRYPTO);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
|
@ -153,7 +153,7 @@ checkDistXUser(dialogMenuItem *self)
|
|||||||
static int
|
static int
|
||||||
checkDistMinimum(dialogMenuItem *self)
|
checkDistMinimum(dialogMenuItem *self)
|
||||||
{
|
{
|
||||||
return Dists == DIST_BIN;
|
return Dists == (DIST_BIN | DIST_CRYPTO);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
|
Loading…
x
Reference in New Issue
Block a user