diff options
author | inmarket <andrewh@inmarket.com.au> | 2013-12-21 13:21:59 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2013-12-21 13:21:59 +1000 |
commit | d9f02858fdc04c4404834a033850f758e4c8ee7e (patch) | |
tree | 2d7b4759cabf76eba5b7ef2147e58d3c9d7f885b /demos/modules/gwin/basic/main.c | |
parent | 018a930d5525ffefc30fb2514752918455853685 (diff) | |
download | uGFX-d9f02858fdc04c4404834a033850f758e4c8ee7e.tar.gz uGFX-d9f02858fdc04c4404834a033850f758e4c8ee7e.tar.bz2 uGFX-d9f02858fdc04c4404834a033850f758e4c8ee7e.zip |
Replace NULL's with 0 as NULL is not defined by the Raw32 GOS.
Diffstat (limited to 'demos/modules/gwin/basic/main.c')
-rw-r--r-- | demos/modules/gwin/basic/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/modules/gwin/basic/main.c b/demos/modules/gwin/basic/main.c index eee22f29..4d8fa33c 100644 --- a/demos/modules/gwin/basic/main.c +++ b/demos/modules/gwin/basic/main.c @@ -44,9 +44,9 @@ int main(void) { GWindowInit wi; wi.show = TRUE; wi.x = 20; wi.y = 10; wi.width = 200; wi.height = 150; - GW1 = gwinWindowCreate(NULL, &wi); + GW1 = gwinWindowCreate(0, &wi); wi.show = TRUE; wi.x = 50; wi.y = 190; wi.width = 150; wi.height = 100; - GW2 = gwinWindowCreate(NULL, &wi); + GW2 = gwinWindowCreate(0, &wi); } /* Set fore- and background colors for both windows */ |