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

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)