Ignore:
Timestamp:
02/10/2012 09:39:11 AM (12 years ago)
Author:
Pierre Labastie <pierre@…>
Branches:
2.4, ablfs, ablfs-more, legacy, new_features, trunk
Children:
b339c94
Parents:
d7390a5
Message:

Changes slightly the code in menu directory so that "conf"
and "mconf" build without issuing warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • menu/lxdialog/textbox.c

    rd7390a5 r743414b  
    4040    int i, x, y, cur_x, cur_y, fpos, key = 0;
    4141    int passed_end;
    42     char search_term[MAX_LEN + 1];
    4342    WINDOW *dialog, *text;
    44 
    45     search_term[0] = '\0';      /* no search term entered yet */
    4643
    4744    /* Open input file for reading */
     
    460457print_line (WINDOW * win, int row, int width)
    461458{
    462     int y, x;
    463459    char *line;
    464460
     
    469465    waddnstr (win, line, MIN (strlen (line), width - 2));
    470466
    471     getyx (win, y, x);
    472467    /* Clear 'residue' of previous line */
    473468#if OLD_NCURSES
    474469    {
     470        int y, x;
    475471        int i;
     472        getyx (win, y, x);
    476473        for (i = 0; i < width - x; i++)
    477474            waddch (win, ' ');
Note: See TracChangeset for help on using the changeset viewer.