mirror of
https://code.blicky.net/yorhel/ncdu.git
synced 2026-01-14 09:48:40 -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) {
|
while(pstate != ST_QUIT) {
|
||||||
if(pstate == ST_CALC)
|
if(pstate == ST_CALC)
|
||||||
calc_process();
|
calc_process();
|
||||||
if(pstate == ST_DEL)
|
else if(pstate == ST_DEL)
|
||||||
delete_process();
|
delete_process();
|
||||||
else if(input_handle(0))
|
else if(input_handle(0))
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue