Skip to content
Snippets Groups Projects
Commit 124296ee authored by Yorhel's avatar Yorhel
Browse files

Fixed infinite calc_process() on error

parent 731bfccf
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment