patch-2.4.2 linux/scripts/lxdialog/checklist.c
Next file: linux/scripts/lxdialog/menubox.c
Previous file: linux/scripts/Lindent
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Sun Feb 4 10:05:30 2001
- Orig file:
v2.4.1/linux/scripts/lxdialog/checklist.c
- Orig date:
Mon Feb 1 12:03:20 1999
diff -u --recursive --new-file v2.4.1/linux/scripts/lxdialog/checklist.c linux/scripts/lxdialog/checklist.c
@@ -51,6 +51,10 @@
mvwaddch(win, choice, item_x, item[0]);
wattrset (win, selected ? item_selected_attr : item_attr);
waddstr (win, (char *)item+1);
+ if (selected) {
+ wmove (win, choice, check_x+1);
+ wrefresh (win);
+ }
}
/*
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)