diff options
author | Stefan Reinauer <reinauer@chromium.org> | 2011-10-31 12:54:00 -0700 |
---|---|---|
committer | Patrick Georgi <patrick@georgi-clan.de> | 2011-11-01 19:08:23 +0100 |
commit | e11835e2995d130890ca9f45cb3e304f2ea3a6a9 (patch) | |
tree | cfc5345e9d98b231de0699714771a5d7f54c6ce1 /payloads/libpayload/curses/PDCurses-3.4/sdl1/sdltest.c | |
parent | dd6906328904309e4d93e4bcb04a6cfa3646f29d (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/sdltest.c')
-rw-r--r-- | payloads/libpayload/curses/PDCurses-3.4/sdl1/sdltest.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/payloads/libpayload/curses/PDCurses-3.4/sdl1/sdltest.c b/payloads/libpayload/curses/PDCurses-3.4/sdl1/sdltest.c index d39533b303..840d15a4eb 100644 --- a/payloads/libpayload/curses/PDCurses-3.4/sdl1/sdltest.c +++ b/payloads/libpayload/curses/PDCurses-3.4/sdl1/sdltest.c @@ -10,7 +10,7 @@ #include <stdlib.h> #include <time.h> -/* You could #include pdcsdl.h, or just add the relevant declarations +/* You could #include pdcsdl.h, or just add the relevant declarations here: */ PDCEX SDL_Surface *pdc_screen; @@ -54,7 +54,7 @@ int main(int argc, char **argv) dest.w = i; dest.h = j; - SDL_FillRect(pdc_screen, &dest, + SDL_FillRect(pdc_screen, &dest, SDL_MapRGB(pdc_screen->format, rand() % 256, rand() % 256, rand() % 256)); } |