aboutsummaryrefslogtreecommitdiffstats
path: root/src/gwin/gwin.c
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2013-07-29 16:33:20 +1000
committerinmarket <andrewh@inmarket.com.au>2013-07-29 16:33:20 +1000
commit34f06cd3c90a18b67ecce9e265c88a6659d4d61b (patch)
treec26059e74f1e35e01dc29a414badd859331a42ab /src/gwin/gwin.c
parent20ec12071dfc095223eb91888c8c72cc721e66a1 (diff)
downloaduGFX-34f06cd3c90a18b67ecce9e265c88a6659d4d61b.tar.gz
uGFX-34f06cd3c90a18b67ecce9e265c88a6659d4d61b.tar.bz2
uGFX-34f06cd3c90a18b67ecce9e265c88a6659d4d61b.zip
Fix compile error in gwinGetPixelColor()
Diffstat (limited to 'src/gwin/gwin.c')
-rw-r--r--src/gwin/gwin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gwin/gwin.c b/src/gwin/gwin.c
index f5d78ac6..998fb8d3 100644
--- a/src/gwin/gwin.c
+++ b/src/gwin/gwin.c
@@ -396,7 +396,7 @@ void gwinBlitArea(GHandle gh, coord_t x, coord_t y, coord_t cx, coord_t cy, coor
#if GDISP_NEED_PIXELREAD
color_t gwinGetPixelColor(GHandle gh, coord_t x, coord_t y) {
if (!((gh->flags & GWIN_FLG_VISIBLE)))
- return;
+ return defaultBgColor;
#if GDISP_NEED_CLIP
gdispSetClip(gh->x, gh->y, gh->width, gh->height);