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