aboutsummaryrefslogtreecommitdiff
path: root/payloads/libpayload/curses/PDCurses-3.4/pdcurses/addchstr.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/pdcurses/addchstr.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/pdcurses/addchstr.c')
-rw-r--r--payloads/libpayload/curses/PDCurses-3.4/pdcurses/addchstr.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/payloads/libpayload/curses/PDCurses-3.4/pdcurses/addchstr.c b/payloads/libpayload/curses/PDCurses-3.4/pdcurses/addchstr.c
index 0eea85a741..249ea8d457 100644
--- a/payloads/libpayload/curses/PDCurses-3.4/pdcurses/addchstr.c
+++ b/payloads/libpayload/curses/PDCurses-3.4/pdcurses/addchstr.c
@@ -29,15 +29,15 @@ RCSID("$Id: addchstr.c,v 1.43 2008/07/13 16:08:17 wmcbrine Exp $")
int n);
Description:
- These routines write a chtype or cchar_t string directly into
- the window structure, starting at the current or specified
- position. The four routines with n as the last argument copy at
- most n elements, but no more than will fit on the line. If n =
- -1 then the whole string is copied, up to the maximum number
+ These routines write a chtype or cchar_t string directly into
+ the window structure, starting at the current or specified
+ position. The four routines with n as the last argument copy at
+ most n elements, but no more than will fit on the line. If n =
+ -1 then the whole string is copied, up to the maximum number
that will fit on the line.
- The cursor position is not advanced. These routines do not check
- for newline or other special characters, nor does any line
+ The cursor position is not advanced. These routines do not check
+ for newline or other special characters, nor does any line
wrapping occur.
Return Value:
@@ -97,7 +97,7 @@ int waddchnstr(WINDOW *win, const chtype *ch, int n)
PDC_LOG(("y %d x %d minx %d maxx %d *ptr %x *ch"
" %x firstch: %d lastch: %d\n",
- y, x, minx, maxx, *ptr, *ch,
+ y, x, minx, maxx, *ptr, *ch,
win->_firstch[y], win->_lastch[y]));
*ptr = *ch;