diff --git a/src/inputHandler.c b/src/inputHandler.c index 5c9dba9..ed559c8 100644 --- a/src/inputHandler.c +++ b/src/inputHandler.c @@ -47,7 +47,7 @@ char getOperationSymbolById(int id) { // Checking if operation id is available int isOperationIdValid(int id) { - if(id < 0 || id > 7) return 0; + if(id < 1 || id > 7) return 0; return 1; }