From 1fe1eb886a17580449ed4c9aef52a14b2ed79296 Mon Sep 17 00:00:00 2001 From: Roland Illig Date: Sun, 15 Aug 2004 19:04:19 +0000 Subject: [PATCH] Marked the last item of a QuickWidget array as NULL_QuickWidget. --- src/hotlist.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hotlist.c b/src/hotlist.c index a5e3b8a11..d242e9ccc 100644 --- a/src/hotlist.c +++ b/src/hotlist.c @@ -841,7 +841,7 @@ static int add_new_entry_input (char *header, char *text1, char *text2, char *he 0, 0, "input-lbl" }, { quick_label, 3, 80, 2, 0, 0, 0, 0, 0, 0, "label-lbl" }, - { 0 } }; + NULL_QuickWidget }; int len; int i; @@ -931,7 +931,7 @@ static int add_new_group_input (char *header, char *label, char **result) "button-append" }, { quick_input, 4, 80, 0, 0, "", 58, 0, 0, 0, "input" }, { quick_label, 3, 80, 2, 0, 0, 0, 0, 0, 0, "label" }, - { 0 } }; + NULL_QuickWidget }; int relative_y[] = {1, 1, 1, 0, 2}; /* the relative_x component from the quick_widgets variable above */ int len;