summaryrefslogtreecommitdiff
path: root/payloads/libpayload/curses/PDCurses-3.4/sdl1/pdcdisp.c
diff options
context:
space:
mode:
authorStefan Reinauer <reinauer@chromium.org>2011-10-31 12:54:00 -0700
committerPatrick Georgi <patrick@georgi-clan.de>2011-11-01 19:08:23 +0100
commite11835e2995d130890ca9f45cb3e304f2ea3a6a9 (patch)
treecfc5345e9d98b231de0699714771a5d7f54c6ce1 /payloads/libpayload/curses/PDCurses-3.4/sdl1/pdcdisp.c
parentdd6906328904309e4d93e4bcb04a6cfa3646f29d (diff)
libpayload: remove trailing whitespace and run dos2unix
Change-Id: Iffed3602456f5306711c65f06c873c58d4086e11 Signed-off-by: Stefan Reinauer <reinauer@google.com> Reviewed-on: http://review.coreboot.org/363 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'payloads/libpayload/curses/PDCurses-3.4/sdl1/pdcdisp.c')
-rw-r--r--payloads/libpayload/curses/PDCurses-3.4/sdl1/pdcdisp.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/payloads/libpayload/curses/PDCurses-3.4/sdl1/pdcdisp.c b/payloads/libpayload/curses/PDCurses-3.4/sdl1/pdcdisp.c
index 3712e6622e..fe463352d6 100644
--- a/payloads/libpayload/curses/PDCurses-3.4/sdl1/pdcdisp.c
+++ b/payloads/libpayload/curses/PDCurses-3.4/sdl1/pdcdisp.c
@@ -62,7 +62,7 @@ void PDC_update_rects(void)
{
if (rectcount)
{
- /* if the maximum number of rects has been reached, we're
+ /* if the maximum number of rects has been reached, we're
probably better off doing a full screen update */
if (rectcount == MAXRECT)
@@ -102,7 +102,7 @@ static void _set_attr(chtype ch)
if (newfg != foregr)
{
- SDL_SetPalette(pdc_font, SDL_LOGPAL,
+ SDL_SetPalette(pdc_font, SDL_LOGPAL,
pdc_color + newfg, pdc_flastc, 1);
foregr = newfg;
}
@@ -151,8 +151,8 @@ void PDC_gotoyx(int row, int col)
if (!SP->visibility)
return;
- /* draw a new cursor by overprinting the existing character in
- reverse, either the full cell (when visibility == 2) or the
+ /* draw a new cursor by overprinting the existing character in
+ reverse, either the full cell (when visibility == 2) or the
lowest quarter of it (when visibility == 1) */
ch = curscr->_y[row][col] ^ A_REVERSE;
@@ -270,7 +270,7 @@ void PDC_transform_line(int lineno, int x, int len, const chtype *srcp)
else
if (lastrect.y != dest.y)
uprect[rectcount++] = dest;
- }
+ }
else
uprect[rectcount++] = dest;