aboutsummaryrefslogtreecommitdiffstats
path: root/demos/modules/gwin/radio/main.c
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/radio/main.c
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/radio/main.c')
-rw-r--r--demos/modules/gwin/radio/main.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/demos/modules/gwin/radio/main.c b/demos/modules/gwin/radio/main.c
index b7504535..9287dcf9 100644
--- a/demos/modules/gwin/radio/main.c
+++ b/demos/modules/gwin/radio/main.c
@@ -47,27 +47,27 @@ static void createWidgets(void) {
// create Radio11
wi.g.y = 10; wi.g.x = 10; wi.g.width = 80; wi.g.height = 20; wi.text = "Radio 1";
- ghRadio11 = gwinRadioCreate(NULL, &wi, GROUP1);
+ ghRadio11 = gwinRadioCreate(0, &wi, GROUP1);
// create Radio12
wi.g.y = 50; wi.g.x = 10; wi.g.width = 80; wi.g.height = 20; wi.text = "Radio 2";
- ghRadio12 = gwinRadioCreate(NULL, &wi, GROUP1);
+ ghRadio12 = gwinRadioCreate(0, &wi, GROUP1);
// create Radio13
wi.g.y = 90; wi.g.x = 10; wi.g.width = 80; wi.g.height = 20; wi.text = "Radio 3";
- ghRadio13 = gwinRadioCreate(NULL, &wi, GROUP1);
+ ghRadio13 = gwinRadioCreate(0, &wi, GROUP1);
// create Radio21
wi.g.y = 10; wi.g.x = 120; wi.g.width = 80; wi.g.height = 20; wi.text = "Radio 1";
- ghRadio21 = gwinRadioCreate(NULL, &wi, GROUP2);
+ ghRadio21 = gwinRadioCreate(0, &wi, GROUP2);
// create Radio22
wi.g.y = 50; wi.g.x = 120; wi.g.width = 80; wi.g.height = 20; wi.text = "Radio 2";
- ghRadio22 = gwinRadioCreate(NULL, &wi, GROUP2);
+ ghRadio22 = gwinRadioCreate(0, &wi, GROUP2);
// create Radio23
wi.g.y = 90; wi.g.x = 120; wi.g.width = 80; wi.g.height = 20; wi.text = "Radio 3";
- ghRadio23 = gwinRadioCreate(NULL, &wi, GROUP2);
+ ghRadio23 = gwinRadioCreate(0, &wi, GROUP2);
// Check the first radio buttons
gwinRadioPress(ghRadio11);