aboutsummaryrefslogtreecommitdiffstats
path: root/demos/modules/gwin/list
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2014-05-11 13:10:50 +1000
committerinmarket <andrewh@inmarket.com.au>2014-05-11 13:10:50 +1000
commit95a3570c88cc6e64131a4bbac48e1e39c7e3ea7a (patch)
tree24ec6c4871d0f778e4b3e0b4a20b2ed125843d60 /demos/modules/gwin/list
parentbdbe78a8daed85e6d794deb1f840c1ec3c3b02f1 (diff)
downloaduGFX-95a3570c88cc6e64131a4bbac48e1e39c7e3ea7a.tar.gz
uGFX-95a3570c88cc6e64131a4bbac48e1e39c7e3ea7a.tar.bz2
uGFX-95a3570c88cc6e64131a4bbac48e1e39c7e3ea7a.zip
Remove NULLs except in comments as some compilers/OS's give strange definitions.
Diffstat (limited to 'demos/modules/gwin/list')
-rw-r--r--demos/modules/gwin/list/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/modules/gwin/list/main.c b/demos/modules/gwin/list/main.c
index 6d469626..ed5b6905 100644
--- a/demos/modules/gwin/list/main.c
+++ b/demos/modules/gwin/list/main.c
@@ -43,12 +43,12 @@ static void createWidgets(void) {
// Create the label for the first list
wi.g.width = 150; wi.g.height = 20; wi.g.x = 10, wi.g.y = 80;
wi.text = "List 1: Default";
- ghLabel1 = gwinLabelCreate(NULL, &wi);
+ ghLabel1 = gwinLabelCreate(0, &wi);
// Create the label for the second list
wi.g.width = 150; wi.g.height = 20; wi.g.x = 165, wi.g.y = 80;
wi.text = "List 2: Smooth scrolling";
- ghLabel1 = gwinLabelCreate(NULL, &wi);
+ ghLabel1 = gwinLabelCreate(0, &wi);
// The first list widget
wi.g.width = 150;