added forgotten "break;"
This commit is contained in:
parent
31b2f2c06d
commit
9feeb4e2d5
1 changed files with 3 additions and 1 deletions
|
@ -74,7 +74,9 @@ int main(void) {
|
|||
if (dirn != RIGHT)
|
||||
dirn = LEFT;
|
||||
break;
|
||||
case quit_key: goto quit;
|
||||
case quit_key:
|
||||
goto quit;
|
||||
break;
|
||||
}
|
||||
snake_forward(s, dirn);
|
||||
snake_print(s);
|
||||
|
|
Loading…
Reference in a new issue