aboutsummaryrefslogtreecommitdiffstats
path: root/demos/modules/gwin/imagebox/main.c
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:19:29 +1000
commite3be259024d60af28c448dfc3b35f30163bc2e10 (patch)
treee6bc2edfc02bb3a7bcfbca5535391f7bced73130 /demos/modules/gwin/imagebox/main.c
parente35d03f24e7bd571d73f1b2f4e6126b465de95a2 (diff)
downloaduGFX-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/imagebox/main.c')
-rw-r--r--demos/modules/gwin/imagebox/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/modules/gwin/imagebox/main.c b/demos/modules/gwin/imagebox/main.c
index c15f5fb3..d8ebbe73 100644
--- a/demos/modules/gwin/imagebox/main.c
+++ b/demos/modules/gwin/imagebox/main.c
@@ -41,7 +41,7 @@ static void createWidgets(void) {
// create the first image widget
wi.g.x = 10; wi.g.y = 10; wi.g.width = 200; wi.g.height = 100;
- ghImage1 = gwinImageCreate(NULL, &wi.g);
+ ghImage1 = gwinImageCreate(0, &wi.g);
gwinImageOpenFile(ghImage1, "ugfx_logo_banner.bmp");
}