From 77ca92452ec0a7bacb7e258890281a6202174be3 Mon Sep 17 00:00:00 2001 From: Nishi Date: Wed, 22 Apr 2026 08:52:57 +0900 Subject: [PATCH] fix --- src/core.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core.c b/src/core.c index 4c8e512..4a5aecd 100644 --- a/src/core.c +++ b/src/core.c @@ -287,6 +287,8 @@ static MwWidget MwCreateWidget_Internal(MwClass widget_class, const char* name, MwWidget MwCreateWidget(MwClass widget_class, const char* name, MwWidget parent, int x, int y, unsigned int width, unsigned int height) { va_list dummy; + memset(&dummy, 0, sizeof(dummy)); + return MwCreateWidget_Internal(widget_class, name, parent, x, y, width, height, 0, dummy); }