aboutsummaryrefslogtreecommitdiffstats
path: root/src/gwin/gwin.c
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2014-05-11 13:09:36 +1000
committerinmarket <andrewh@inmarket.com.au>2014-05-11 13:09:36 +1000
commitbdbe78a8daed85e6d794deb1f840c1ec3c3b02f1 (patch)
tree8bc8883ad298e6a8d2a8ac6a57696b41c2fdb816 /src/gwin/gwin.c
parenta49b095b945756f1c32d9cfe3795a0d86151d6aa (diff)
downloaduGFX-bdbe78a8daed85e6d794deb1f840c1ec3c3b02f1.tar.gz
uGFX-bdbe78a8daed85e6d794deb1f840c1ec3c3b02f1.tar.bz2
uGFX-bdbe78a8daed85e6d794deb1f840c1ec3c3b02f1.zip
frame fixes
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 563b7abe..dfcb8d4c 100644
--- a/src/gwin/gwin.c
+++ b/src/gwin/gwin.c
@@ -148,7 +148,7 @@ GHandle _gwindowCreate(GDisplay *g, GWindowObject *pgw, const GWindowInit *pInit
#if GWIN_NEED_CONTAINERS
if (pInit->parent) {
- if (!(pInit->parent->flags & GWIN_FLG_CONTAINER) || pgw->display != pgw->parent->display) {
+ if (!(pInit->parent->flags & GWIN_FLG_CONTAINER) || pgw->display != pInit->parent->display) {
if ((pgw->flags & GWIN_FLG_DYNAMIC))
gfxFree(pgw);
return 0;