aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1996-01-05 04:04:46 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1996-01-05 04:04:46 +0000
commit364f634e453cf1518cc728db6220f0cd9e572d7c (patch)
tree1b174643f08330a19f30803ccc5f4190ffdd3c6e /gnu
parent87e6b43c79c1fb6692249f639cc69388490bb4d8 (diff)
downloadsrc-364f634e453cf1518cc728db6220f0cd9e572d7c.tar.gz
src-364f634e453cf1518cc728db6220f0cd9e572d7c.zip
Merge changes from HEAD
Notes
Notes: svn path=/stable/2.1/; revision=13233
Diffstat (limited to 'gnu')
-rw-r--r--gnu/lib/libdialog/checklist.c4
-rw-r--r--gnu/lib/libdialog/radiolist.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/gnu/lib/libdialog/checklist.c b/gnu/lib/libdialog/checklist.c
index 96bac9fec95c..391e351b07d5 100644
--- a/gnu/lib/libdialog/checklist.c
+++ b/gnu/lib/libdialog/checklist.c
@@ -499,7 +499,9 @@ print_item(WINDOW *win, unsigned char *tag, unsigned char *item, int status, int
wattrset(win, selected ? item_selected_attr : item_attr);
waddstr(win, item);
/* If have a selection handler for this, call it */
- if (me && me->selected)
+ if (me && me->selected) {
+ wrefresh(win);
me->selected(me, selected);
+ }
}
/* End of print_item() */
diff --git a/gnu/lib/libdialog/radiolist.c b/gnu/lib/libdialog/radiolist.c
index db408f9afd46..97ada1ce1ce9 100644
--- a/gnu/lib/libdialog/radiolist.c
+++ b/gnu/lib/libdialog/radiolist.c
@@ -485,7 +485,9 @@ print_item(WINDOW *win, char *tag, char *item, int status, int choice, int selec
wattrset(win, selected ? item_selected_attr : item_attr);
waddstr(win, item);
/* If have a selection handler for this, call it */
- if (me && me->selected)
+ if (me && me->selected) {
+ wrefresh(win);
me->selected(me, selected);
+ }
}
/* End of print_item() */