Browse Source

Correction of valid operation check

remotes/origin/develop
Eric Bagus 11 months ago
parent
commit
9c5ee0b617
  1. 2
      src/inputHandler.c

2
src/inputHandler.c

@ -47,7 +47,7 @@ char getOperationSymbolById(int id) {
// Checking if operation id is available // Checking if operation id is available
int isOperationIdValid(int id) { int isOperationIdValid(int id) {
if(id < 0 || id > 7) return 0;
if(id < 1 || id > 7) return 0;
return 1; return 1;
} }

Loading…
Cancel
Save