mirror of
https://github.com/vlang/v.git
synced 2025-09-14 06:52:36 +03:00
fix for compiling examples/gg/fire.v
This commit is contained in:
parent
f0509c1fb9
commit
96e9c7831f
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ fn main() {
|
||||||
mut app := &App{
|
mut app := &App{
|
||||||
buf: [][]int{len: height - 1, init: []int{len: width}}
|
buf: [][]int{len: height - 1, init: []int{len: width}}
|
||||||
}
|
}
|
||||||
app.buf << []int{len: width, init: 36} // white fire base
|
app.buf << [[]int{len: width, init: 36}] // white fire base
|
||||||
|
|
||||||
app.gg = gg.new_context(
|
app.gg = gg.new_context(
|
||||||
event_fn: event
|
event_fn: event
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue