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

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