aboutsummaryrefslogtreecommitdiffstats
path: root/src/gwin/gwin_container.c
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2015-02-28 12:05:04 +1000
committerinmarket <andrewh@inmarket.com.au>2015-02-28 12:05:04 +1000
commit73ba2778abef0d010eb9824161eb97edeed52ee6 (patch)
treea83328266bfd841c2219447e6357f0ae15730992 /src/gwin/gwin_container.c
parentd008c83bc728934498820e0019fd0b1771cdeff9 (diff)
downloaduGFX-73ba2778abef0d010eb9824161eb97edeed52ee6.tar.gz
uGFX-73ba2778abef0d010eb9824161eb97edeed52ee6.tar.bz2
uGFX-73ba2778abef0d010eb9824161eb97edeed52ee6.zip
Background images on GWIN containers had cx and cy interposed.
Diffstat (limited to 'src/gwin/gwin_container.c')
-rw-r--r--src/gwin/gwin_container.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gwin/gwin_container.c b/src/gwin/gwin_container.c
index 3145ae56..f45af504 100644
--- a/src/gwin/gwin_container.c
+++ b/src/gwin/gwin_container.c
@@ -190,7 +190,7 @@ void gwinContainerDraw_Std(GWidgetObject *gw, void *param) {
for(iw=gi->width; x < mx; x += iw) {
if (iw > mx - x)
iw = mx - x;
- gdispGImageDraw(gw->g.display, gi, x, y, ih, iw, 0, 0);
+ gdispGImageDraw(gw->g.display, gi, x, y, iw, ih, 0, 0);
}
}