Changeset 3232 in MondoRescue for branches/3.2/mindi-busybox/scripts/kconfig/lxdialog/textbox.c
- Timestamp:
- Jan 1, 2014, 12:47:38 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2/mindi-busybox/scripts/kconfig/lxdialog/textbox.c
r1765 r3232 39 39 int i, x, y, cur_x, cur_y, fpos, key = 0; 40 40 int passed_end; 41 char search_term[MAX_LEN + 1];42 41 WINDOW *dialog, *text; 43 44 search_term[0] = '\0'; /* no search term entered yet */45 42 46 43 /* Open input file for reading */ … … 438 435 static void print_line(WINDOW * win, int row, int width) 439 436 { 440 int y, x;441 437 char *line; 442 438 … … 447 443 waddnstr(win, line, MIN(strlen(line), width - 2)); 448 444 449 getyx(win, y, x);450 445 /* Clear 'residue' of previous line */ 451 446 #if OLD_NCURSES 452 447 { 453 448 int i; 449 int y, x; 450 451 getyx(win, y, x); 454 452 for (i = 0; i < width - x; i++) 455 453 waddch(win, ' ');
Note:
See TracChangeset
for help on using the changeset viewer.