diff options
Diffstat (limited to 'gnu/lib/libdialog/checklist.c')
| -rw-r--r-- | gnu/lib/libdialog/checklist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/lib/libdialog/checklist.c b/gnu/lib/libdialog/checklist.c index 0e8e419e2fa1..bc6bcba21e0b 100644 --- a/gnu/lib/libdialog/checklist.c +++ b/gnu/lib/libdialog/checklist.c @@ -214,7 +214,7 @@ draw: } delwin(save); } - else { + else if (result) { *result = '\0'; for (i = 0; i < item_no; i++) { if (status[i]) { |
