diff options
author | inmarket <andrewh@inmarket.com.au> | 2014-05-11 13:10:50 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2014-05-11 13:19:29 +1000 |
commit | e3be259024d60af28c448dfc3b35f30163bc2e10 (patch) | |
tree | e6bc2edfc02bb3a7bcfbca5535391f7bced73130 /demos/modules/gwin/label/main.c | |
parent | e35d03f24e7bd571d73f1b2f4e6126b465de95a2 (diff) | |
download | uGFX-e3be259024d60af28c448dfc3b35f30163bc2e10.tar.gz uGFX-e3be259024d60af28c448dfc3b35f30163bc2e10.tar.bz2 uGFX-e3be259024d60af28c448dfc3b35f30163bc2e10.zip |
Remove NULLs except in comments as some compilers/OS's give strange definitions.
Diffstat (limited to 'demos/modules/gwin/label/main.c')
-rw-r--r-- | demos/modules/gwin/label/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/modules/gwin/label/main.c b/demos/modules/gwin/label/main.c index 175c0d6e..918f2787 100644 --- a/demos/modules/gwin/label/main.c +++ b/demos/modules/gwin/label/main.c @@ -44,13 +44,13 @@ static void createWidgets(void) { // Create the IP label wi.g.width = 200; wi.g.height = 20; wi.g.x = 10, wi.g.y = 80; wi.text = "192.168.1.42"; - ghLabel1 = gwinLabelCreate(NULL, &wi); + ghLabel1 = gwinLabelCreate(0, &wi); gwinLabelSetAttribute(ghLabel1, 100, "Current IP:"); // Create the DHCP label wi.g.width = 200; wi.g.height = 20; wi.g.x = 10, wi.g.y = 100; wi.text = "Off"; - ghLabel2 = gwinLabelCreate(NULL, &wi); + ghLabel2 = gwinLabelCreate(0, &wi); gwinLabelSetAttribute(ghLabel2, 100, "DHCP:"); } |