patch-2.1.126 linux/scripts/lxdialog/menubox.c
Next file: linux/scripts/lxdialog/textbox.c
Previous file: linux/net/unix/garbage.c
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
Sat Oct 10 10:09:58 1998
- Orig file:
v2.1.125/linux/scripts/lxdialog/menubox.c
- Orig date:
Fri Oct 9 13:27:18 1998
diff -u --recursive --new-file v2.1.125/linux/scripts/lxdialog/menubox.c linux/scripts/lxdialog/menubox.c
@@ -60,8 +60,11 @@
static void
print_item (WINDOW * win, const char *item, int choice, int selected, int hotkey)
{
- int i, j;
+ int j;
char menu_item[menu_width+1];
+#if OLD_NCURSES
+ int i;
+#endif
strncpy(menu_item, item, menu_width);
menu_item[menu_width] = 0;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov