summaryrefslogtreecommitdiff
path: root/ui.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui.c')
-rw-r--r--ui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui.c b/ui.c
index 993a51f..55132a5 100644
--- a/ui.c
+++ b/ui.c
@@ -588,7 +588,7 @@ static void popup_get_rects(Ted const *ted, u32 options, Rect *popup, Rect *butt
}
static PopupOption popup_update(Ted *ted, u32 options) {
- Rect r, button_yes, button_no, button_cancel;
+ Rect r = {0}, button_yes = {0}, button_no = {0}, button_cancel = {0};
popup_get_rects(ted, options, &r, &button_yes, &button_no, &button_cancel);
if (button_update(ted, button_yes))
return POPUP_YES;