Changeset 5229:5bc3cb8c8b68
- 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:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r5137
|
r5229
|
|
| 1276 | 1276 | if (menu->redraw & REDRAW_STATUS) |
| 1277 | 1277 | { |
| 1278 | | compose_status_line (buf, sizeof (buf), 0, menu, NONULL(ComposeFormat)); |
| | 1278 | compose_status_line (buf, sizeof (buf), 0, menu, NONULL(ComposeFormat)); |
| 1279 | 1279 | CLEARLINE (option (OPTSTATUSONTOP) ? 0 : LINES-2); |
| 1280 | 1280 | SETCOLOR (MT_COLOR_STATUS); |
| 1281 | | printw ("%-*.*s", COLS, COLS, buf); |
| | 1281 | BKGDSET (MT_COLOR_STATUS); |
| | 1282 | mutt_paddstr (COLS, buf); |
| 1282 | 1283 | SETCOLOR (MT_COLOR_NORMAL); |
| | 1284 | BKGDSET (MT_COLOR_NORMAL); |
| 1283 | 1285 | menu->redraw &= ~REDRAW_STATUS; |
| 1284 | 1286 | } |