diff --git a/src/main.c b/src/main.c index 754fc39..78dbe2e 100644 --- a/src/main.c +++ b/src/main.c @@ -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;