diff options
author | 2023-05-29 22:55:40 +0200 | |
---|---|---|
committer | 2023-05-29 22:55:40 +0200 | |
commit | f15825c60e584427bafb0a7fb3225f1c9e140638 (patch) | |
tree | 86f72be1abc14c48dccffba2a55822dd5a3c95cd | |
parent | f36b910104dd6b34d42659eaa0cf63ae8b0dcc58 (diff) | |
download | cherry-f15825c60e584427bafb0a7fb3225f1c9e140638.tar.gz cherry-f15825c60e584427bafb0a7fb3225f1c9e140638.zip |
Init drawn with a 0
-rw-r--r-- | src/widget.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/widget.c b/src/widget.c index ccb59f1..30da5b2 100644 --- a/src/widget.c +++ b/src/widget.c @@ -20,6 +20,7 @@ cherry_widget_new(void) widget->width = 0; widget->height = 0; widget->visible = 0; + widget->drawn = 0; widget->draw = cherry_widget_draw; return widget; |