aboutsummaryrefslogtreecommitdiffstats
path: root/demos/modules/gwin/basic
diff options
context:
space:
mode:
Diffstat (limited to 'demos/modules/gwin/basic')
-rw-r--r--demos/modules/gwin/basic/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/demos/modules/gwin/basic/main.c b/demos/modules/gwin/basic/main.c
index 4d8fa33c..fca150c9 100644
--- a/demos/modules/gwin/basic/main.c
+++ b/demos/modules/gwin/basic/main.c
@@ -43,6 +43,7 @@ int main(void) {
{
GWindowInit wi;
+ gwinClearInit(&wi);
wi.show = TRUE; wi.x = 20; wi.y = 10; wi.width = 200; wi.height = 150;
GW1 = gwinWindowCreate(0, &wi);
wi.show = TRUE; wi.x = 50; wi.y = 190; wi.width = 150; wi.height = 100;