diff options
author | inmarket <andrewh@inmarket.com.au> | 2015-02-28 12:05:04 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2015-02-28 12:05:04 +1000 |
commit | 73ba2778abef0d010eb9824161eb97edeed52ee6 (patch) | |
tree | a83328266bfd841c2219447e6357f0ae15730992 /src/gwin/gwin_container.c | |
parent | d008c83bc728934498820e0019fd0b1771cdeff9 (diff) | |
download | uGFX-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.c | 2 |
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); } } |