Changeset 3598

Show
Ignore:
Timestamp:
09/24/08 16:17:02 (2 months ago)
Author:
jcrouse
Message:

Adjust width of stdscr to exactly SCREEN_X. This fixes alignment issues due
to an extra space sent at end of each line, as well as a data corruption
issue, which could result in undefined color pairs being referenced.

Signed-off-by: Ulf Jordan <jordan@…>
Acked-by: Jordan Crouse <jordan.crouse@…>

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/payloads/libpayload/curses/tinycurses.c

    r3579 r3598  
    315315        // Speaker init? 
    316316 
    317         stdscr = newwin(SCREEN_Y, SCREEN_X + 1, 0, 0); 
     317        stdscr = newwin(SCREEN_Y, SCREEN_X, 0, 0); 
    318318        // TODO: curscr, newscr? 
    319319