summaryrefslogtreecommitdiff
path: root/payloads/libpayload/curses/PDCurses-3.4/pdcurses/touch.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/touch.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/touch.c')
-rw-r--r--payloads/libpayload/curses/PDCurses-3.4/pdcurses/touch.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/payloads/libpayload/curses/PDCurses-3.4/pdcurses/touch.c b/payloads/libpayload/curses/PDCurses-3.4/pdcurses/touch.c
index 9355aa1f40..c808058b81 100644
--- a/payloads/libpayload/curses/PDCurses-3.4/pdcurses/touch.c
+++ b/payloads/libpayload/curses/PDCurses-3.4/pdcurses/touch.c
@@ -17,26 +17,26 @@ RCSID("$Id: touch.c,v 1.29 2008/07/13 16:08:18 wmcbrine Exp $")
bool is_wintouched(WINDOW *win);
Description:
- touchwin() and touchline() throw away all information about
- which parts of the window have been touched, pretending that the
- entire window has been drawn on. This is sometimes necessary
- when using overlapping windows, since a change to one window
- will affect the other window, but the records of which lines
- have been changed in the other window will not reflect the
+ touchwin() and touchline() throw away all information about
+ which parts of the window have been touched, pretending that the
+ entire window has been drawn on. This is sometimes necessary
+ when using overlapping windows, since a change to one window
+ will affect the other window, but the records of which lines
+ have been changed in the other window will not reflect the
change.
- untouchwin() marks all lines in the window as unchanged since
+ untouchwin() marks all lines in the window as unchanged since
the last call to wrefresh().
- wtouchln() makes n lines in the window, starting at line y, look
- as if they have (changed == 1) or have not (changed == 0) been
+ wtouchln() makes n lines in the window, starting at line y, look
+ as if they have (changed == 1) or have not (changed == 0) been
changed since the last call to wrefresh().
- is_linetouched() returns TRUE if the specified line in the
- specified window has been changed since the last call to
+ is_linetouched() returns TRUE if the specified line in the
+ specified window has been changed since the last call to
wrefresh().
- is_wintouched() returns TRUE if the specified window
+ is_wintouched() returns TRUE if the specified window
has been changed since the last call to wrefresh().
Return Value:
@@ -125,7 +125,7 @@ int wtouchln(WINDOW *win, int y, int n, int changed)
win->_firstch[i] = 0;
win->_lastch[i] = win->_maxx - 1;
}
- else
+ else
{
win->_firstch[i] = _NO_CHANGE;
win->_lastch[i] = _NO_CHANGE;