Changeset 743414b for menu/lxdialog/textbox.c
- Timestamp:
- 02/10/2012 09:39:11 AM (12 years ago)
- Branches:
- 2.4, ablfs, ablfs-more, legacy, new_features, trunk
- Children:
- b339c94
- Parents:
- d7390a5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
menu/lxdialog/textbox.c
rd7390a5 r743414b 40 40 int i, x, y, cur_x, cur_y, fpos, key = 0; 41 41 int passed_end; 42 char search_term[MAX_LEN + 1];43 42 WINDOW *dialog, *text; 44 45 search_term[0] = '\0'; /* no search term entered yet */46 43 47 44 /* Open input file for reading */ … … 460 457 print_line (WINDOW * win, int row, int width) 461 458 { 462 int y, x;463 459 char *line; 464 460 … … 469 465 waddnstr (win, line, MIN (strlen (line), width - 2)); 470 466 471 getyx (win, y, x);472 467 /* Clear 'residue' of previous line */ 473 468 #if OLD_NCURSES 474 469 { 470 int y, x; 475 471 int i; 472 getyx (win, y, x); 476 473 for (i = 0; i < width - x; i++) 477 474 waddch (win, ' ');
Note:
See TracChangeset
for help on using the changeset viewer.