mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-14 10:09:48 +00:00
In !dists case, invoke the custom dist menu rather than the toplevel
dist menu. This makes a good deal more sense and should have been this way all along.
This commit is contained in:
parent
e0e1133124
commit
feb308afd5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=32714
@ -4,7 +4,7 @@
|
||||
* This is probably the last program in the `sysinstall' line - the next
|
||||
* generation being essentially a complete rewrite.
|
||||
*
|
||||
* $Id: dist.c,v 1.119 1997/10/12 12:11:14 jkh Exp $
|
||||
* $Id: dist.c,v 1.120 1997/10/13 12:12:14 jkh Exp $
|
||||
*
|
||||
* Copyright (c) 1995
|
||||
* Jordan Hubbard. All rights reserved.
|
||||
@ -799,7 +799,7 @@ distExtractAll(dialogMenuItem *self)
|
||||
|
||||
/* paranoia */
|
||||
if (!Dists) {
|
||||
if (!dmenuOpenSimple(&MenuDistributions, FALSE) || !Dists)
|
||||
if (!dmenuOpenSimple(&MenuSubDistributions, FALSE) || !Dists)
|
||||
return DITEM_FAILURE | DITEM_RESTORE;
|
||||
}
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
* This is probably the last program in the `sysinstall' line - the next
|
||||
* generation being essentially a complete rewrite.
|
||||
*
|
||||
* $Id: dist.c,v 1.119 1997/10/12 12:11:14 jkh Exp $
|
||||
* $Id: dist.c,v 1.120 1997/10/13 12:12:14 jkh Exp $
|
||||
*
|
||||
* Copyright (c) 1995
|
||||
* Jordan Hubbard. All rights reserved.
|
||||
@ -799,7 +799,7 @@ distExtractAll(dialogMenuItem *self)
|
||||
|
||||
/* paranoia */
|
||||
if (!Dists) {
|
||||
if (!dmenuOpenSimple(&MenuDistributions, FALSE) || !Dists)
|
||||
if (!dmenuOpenSimple(&MenuSubDistributions, FALSE) || !Dists)
|
||||
return DITEM_FAILURE | DITEM_RESTORE;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user