aboutsummaryrefslogtreecommitdiffstats
path: root/demos/modules/gwin/imagebox/main.c
diff options
context:
space:
mode:
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");
}