Skip to content

Commit 824784c

Browse files
author
Geert-Johan Riemer
committed
Fix simple naming mistake
1 parent 5bad8a5 commit 824784c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

qml.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ type Engine struct {
2828
values map[interface{}]*valueFold
2929
destroyed bool
3030

31-
imageProviders map[string]*func(providerId string, width, height int) image.Image
31+
imageProviders map[string]*func(imageId string, width, height int) image.Image
3232
}
3333

3434
var engines = make(map[unsafe.Pointer]*Engine)
@@ -42,7 +42,7 @@ func NewEngine() *Engine {
4242
RunMain(func() {
4343
engine.addr = C.newEngine(nil)
4444
engine.engine = engine
45-
engine.imageProviders = make(map[string]*func(providerId string, width, height int) image.Image)
45+
engine.imageProviders = make(map[string]*func(imageId string, width, height int) image.Image)
4646
engines[engine.addr] = engine
4747
stats.enginesAlive(+1)
4848
})

0 commit comments

Comments
 (0)