Whoops! Fix an infinite loop I lovingly introduced into this code
with a previous commit.
This commit is contained in:
parent
aef403ae97
commit
5f482c5585
@ -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