1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

vlib: fix missing else{} in match statements

This commit is contained in:
Alexander Medvednikov
2019-12-07 17:13:25 +03:00
parent 2fb7fba856
commit ad6adf327e
15 changed files with 88 additions and 85 deletions

View File

@ -402,6 +402,7 @@ fn key_down(wnd voidptr, key, code, action, mods int) {
game.state = .running
}
}
else {}
}
if game.state != .running {
@ -434,5 +435,6 @@ fn key_down(wnd voidptr, key, code, action, mods int) {
glfw.KeyDown {
game.move_tetro() // drop faster when the player presses <down>
}
else { }
}
}