added forgotten "break;"

This commit is contained in:
Noah Swerhun 2021-09-18 19:23:40 -05:00
parent 31b2f2c06d
commit 9feeb4e2d5

View file

@ -74,7 +74,9 @@ int main(void) {
if (dirn != RIGHT) if (dirn != RIGHT)
dirn = LEFT; dirn = LEFT;
break; break;
case quit_key: goto quit; case quit_key:
goto quit;
break;
} }
snake_forward(s, dirn); snake_forward(s, dirn);
snake_print(s); snake_print(s);