aboutsummaryrefslogtreecommitdiffstats
path: root/src/gwin
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@unormal.org>2013-07-01 17:58:05 +0200
committerJoel Bodenmann <joel@unormal.org>2013-07-01 17:58:05 +0200
commitf188613d30977ac44f89e4eab9c5f9784169f576 (patch)
tree4b577ea08ee72317e5bbbc2f3f1df9f8dc2f7fcf /src/gwin
parent3cd10217dce976c6529aac184af94a03fcf63314 (diff)
downloaduGFX-f188613d30977ac44f89e4eab9c5f9784169f576.tar.gz
uGFX-f188613d30977ac44f89e4eab9c5f9784169f576.tar.bz2
uGFX-f188613d30977ac44f89e4eab9c5f9784169f576.zip
fixed image drawing boundries
Diffstat (limited to 'src/gwin')
-rw-r--r--src/gwin/image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gwin/image.c b/src/gwin/image.c
index 64a27840..bba92238 100644
--- a/src/gwin/image.c
+++ b/src/gwin/image.c
@@ -87,7 +87,7 @@ void gwinImageSetBgColor(GHandle gh, color_t bgColor) {
}
void gwinImageDraw(GHandle gh) {
- gdispImageDraw(widget(gh)->image, widget(gh)->g.x, widget(gh)->g.y, widget(gh)->g.width, widget(gh)->g.height, 0, 0);
+ gdispImageDraw(widget(gh)->image, widget(gh)->g.x, widget(gh)->g.y, widget(gh)->image->width, widget(gh)->image->height, 0, 0);
}
#endif // GFX_USE_GWIN && GWIN_NEED_IMAGE