mirror of
https://github.com/vlang/v.git
synced 2025-09-14 23:12:33 +03:00
vlib: fix missing else{}
in match statements
This commit is contained in:
parent
2fb7fba856
commit
ad6adf327e
15 changed files with 88 additions and 85 deletions
|
@ -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 { }
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue