patch-2.1.126 linux/scripts/lxdialog/textbox.c
Next file: linux/CREDITS
Previous file: linux/scripts/lxdialog/menubox.c
Back to the patch index
Back to the overall index
- Lines: 14
- Date:
Sat Oct 10 10:09:58 1998
- Orig file:
v2.1.125/linux/scripts/lxdialog/textbox.c
- Orig date:
Fri Oct 9 13:27:18 1998
diff -u --recursive --new-file v2.1.125/linux/scripts/lxdialog/textbox.c linux/scripts/lxdialog/textbox.c
@@ -451,8 +451,11 @@
static void
print_line (WINDOW * win, int row, int width)
{
- int i, y, x;
+ int y, x;
char *line;
+#if OLD_NCURSES
+ int i;
+#endif
line = get_line ();
line += MIN (strlen (line), hscroll); /* Scroll horizontally */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov