aboutsummaryrefslogtreecommitdiffstats
path: root/src/gwin
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:57 +1000
commit978f8b6c4fca28db6b488478db3a960648fdff7e (patch)
tree180a086d4936569c83f116d3edc4c39ac7efd614 /src/gwin
parentf84bc2a3f6b82b0f05319fd7c609f8b30929d788 (diff)
downloaduGFX-978f8b6c4fca28db6b488478db3a960648fdff7e.tar.gz
uGFX-978f8b6c4fca28db6b488478db3a960648fdff7e.tar.bz2
uGFX-978f8b6c4fca28db6b488478db3a960648fdff7e.zip
Fix compile error in gwinGetPixelColor()
Diffstat (limited to 'src/gwin')
-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);