mirror of
https://code.blicky.net/yorhel/ncdu.git
synced 2026-01-13 01:08:41 -09:00
Fixed infinite calc_process() on error
This commit is contained in:
parent
731bfccfb5
commit
124296ee19
1 changed files with 1 additions and 1 deletions
|
|
@ -155,7 +155,7 @@ int main(int argc, char **argv) {
|
|||
while(pstate != ST_QUIT) {
|
||||
if(pstate == ST_CALC)
|
||||
calc_process();
|
||||
if(pstate == ST_DEL)
|
||||
else if(pstate == ST_DEL)
|
||||
delete_process();
|
||||
else if(input_handle(0))
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue