Adjust width of stdscr to exactly SCREEN_X. This fixes alignment issues due
authorUlf Jordan <jordan@chalmers.se>
Wed, 24 Sep 2008 14:17:02 +0000 (14:17 +0000)
committerJordan Crouse <jordan.crouse@amd.com>
Wed, 24 Sep 2008 14:17:02 +0000 (14:17 +0000)
commit902ed76ec4372d163a89d490ac0ab20732d65062
tree405ab35bf2509b23cb6c94b78885cb6aee2d8f4f
parent0f5379ce4e051ef5c4cf2baba329dbc6fcb26cdb
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@chalmers.se>
Acked-by: Jordan Crouse <jordan.crouse@amd.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3598 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
payloads/libpayload/curses/tinycurses.c