summaryrefslogtreecommitdiffstatshomepage
path: root/canvas.go
diff options
context:
space:
mode:
Diffstat (limited to 'canvas.go')
-rw-r--r--canvas.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/canvas.go b/canvas.go
index 7118c1cb..872bec7e 100644
--- a/canvas.go
+++ b/canvas.go
@@ -372,7 +372,7 @@ func (c *Canvas) GradientFillRectangle(color1, color2 Color, orientation Orienta
}
if !win.GradientFill(c.hdc, &vertices[0], 2, unsafe.Pointer(&indices), 1, uint32(orientation)) {
- return newErr("GradientFill failed")
+ return newError("GradientFill failed")
}
return nil