Changeset 5229:5bc3cb8c8b68

Show
Ignore:
Timestamp:
2007-09-19 02:53:03 (16 months ago)
Author:
Rocco Rutte <pdmef@…>
Branch:
HEAD
Message:

Use mutt_paddstr() to print compose menu's status line rather than printw().
All other menus use mutt_paddstr(): printw() prints only N bytes, not N columns.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • compose.c

    r5137 r5229  
    12761276    if (menu->redraw & REDRAW_STATUS)  
    12771277    { 
    1278         compose_status_line (buf, sizeof (buf), 0, menu, NONULL(ComposeFormat)); 
     1278        compose_status_line (buf, sizeof (buf), 0, menu, NONULL(ComposeFormat)); 
    12791279        CLEARLINE (option (OPTSTATUSONTOP) ? 0 : LINES-2); 
    12801280        SETCOLOR (MT_COLOR_STATUS); 
    1281         printw ("%-*.*s", COLS, COLS, buf); 
     1281        BKGDSET (MT_COLOR_STATUS); 
     1282        mutt_paddstr (COLS, buf); 
    12821283        SETCOLOR (MT_COLOR_NORMAL); 
     1284        BKGDSET (MT_COLOR_NORMAL); 
    12831285        menu->redraw &= ~REDRAW_STATUS; 
    12841286    }