mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-03 08:22:44 +00:00
Whoops! Fix an infinite loop I lovingly introduced into this code
with a previous commit.
This commit is contained in:
parent
ae0fde8e14
commit
79e6e0e3a2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=21799
@ -499,8 +499,11 @@ installNovice(dialogMenuItem *self)
|
||||
dialog_clear_norefresh();
|
||||
if (!dmenuOpenSimple(&MenuDistributions, FALSE))
|
||||
return DITEM_FAILURE | DITEM_RESTORE;
|
||||
|
||||
if (!Dists && msgYesNo("No distributions selected. Revisit the distributions menu?"))
|
||||
|
||||
if (Dists)
|
||||
break;
|
||||
|
||||
if (msgYesNo("No distributions selected. Revisit the distributions menu?"))
|
||||
return DITEM_FAILURE | DITEM_RESTORE;
|
||||
}
|
||||
|
||||
|
@ -499,8 +499,11 @@ installNovice(dialogMenuItem *self)
|
||||
dialog_clear_norefresh();
|
||||
if (!dmenuOpenSimple(&MenuDistributions, FALSE))
|
||||
return DITEM_FAILURE | DITEM_RESTORE;
|
||||
|
||||
if (!Dists && msgYesNo("No distributions selected. Revisit the distributions menu?"))
|
||||
|
||||
if (Dists)
|
||||
break;
|
||||
|
||||
if (msgYesNo("No distributions selected. Revisit the distributions menu?"))
|
||||
return DITEM_FAILURE | DITEM_RESTORE;
|
||||
}
|
||||
|
||||
|
@ -499,8 +499,11 @@ installNovice(dialogMenuItem *self)
|
||||
dialog_clear_norefresh();
|
||||
if (!dmenuOpenSimple(&MenuDistributions, FALSE))
|
||||
return DITEM_FAILURE | DITEM_RESTORE;
|
||||
|
||||
if (!Dists && msgYesNo("No distributions selected. Revisit the distributions menu?"))
|
||||
|
||||
if (Dists)
|
||||
break;
|
||||
|
||||
if (msgYesNo("No distributions selected. Revisit the distributions menu?"))
|
||||
return DITEM_FAILURE | DITEM_RESTORE;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user