aboutsummaryrefslogtreecommitdiffstats
path: root/demos/modules/gwin/console
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2013-12-21 13:21:59 +1000
committerinmarket <andrewh@inmarket.com.au>2013-12-21 13:21:59 +1000
commitd9f02858fdc04c4404834a033850f758e4c8ee7e (patch)
tree2d7b4759cabf76eba5b7ef2147e58d3c9d7f885b /demos/modules/gwin/console
parent018a930d5525ffefc30fb2514752918455853685 (diff)
downloaduGFX-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/console')
-rw-r--r--demos/modules/gwin/console/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/demos/modules/gwin/console/main.c b/demos/modules/gwin/console/main.c
index 0efd1c99..83753c6c 100644
--- a/demos/modules/gwin/console/main.c
+++ b/demos/modules/gwin/console/main.c
@@ -50,11 +50,11 @@ int main(void) {
wi.show = TRUE;
wi.x = 0; wi.y = 0; wi.width = gdispGetWidth(); wi.height = gdispGetHeight()/2;
- GW1 = gwinConsoleCreate(NULL, &wi);
+ GW1 = gwinConsoleCreate(0, &wi);
wi.y = gdispGetHeight()/2; wi.width = gdispGetWidth()/2; wi.height = gdispGetHeight();
- GW2 = gwinConsoleCreate(NULL, &wi);
+ GW2 = gwinConsoleCreate(0, &wi);
wi.x = gdispGetWidth()/2; wi.height = gdispGetHeight();
- GW3 = gwinConsoleCreate(NULL, &wi);
+ GW3 = gwinConsoleCreate(0, &wi);
}
/* Use a special font for GW1 */