summaryrefslogtreecommitdiff
path: root/payloads/libpayload/curses/PDCurses-3.4/pdcurses/scroll.c
diff options
context:
space:
mode:
Diffstat (limited to 'payloads/libpayload/curses/PDCurses-3.4/pdcurses/scroll.c')
-rw-r--r--payloads/libpayload/curses/PDCurses-3.4/pdcurses/scroll.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/payloads/libpayload/curses/PDCurses-3.4/pdcurses/scroll.c b/payloads/libpayload/curses/PDCurses-3.4/pdcurses/scroll.c
index c53e295468..bc6c082e37 100644
--- a/payloads/libpayload/curses/PDCurses-3.4/pdcurses/scroll.c
+++ b/payloads/libpayload/curses/PDCurses-3.4/pdcurses/scroll.c
@@ -14,15 +14,15 @@ RCSID("$Id: scroll.c,v 1.36 2008/07/13 16:08:18 wmcbrine Exp $")
int wscrl(WINDOW *win, int n);
Description:
- scroll() causes the window to scroll up one line. This involves
+ scroll() causes the window to scroll up one line. This involves
moving the lines in the window data strcture.
-
- With a positive n, scrl() and wscrl() scroll the window up n
- lines (line i + n becomes i); otherwise they scroll the window
+
+ With a positive n, scrl() and wscrl() scroll the window up n
+ lines (line i + n becomes i); otherwise they scroll the window
down n lines.
-
- For these functions to work, scrolling must be enabled via
- scrollok(). Note also that scrolling is not allowed if the
+
+ For these functions to work, scrolling must be enabled via
+ scrollok(). Note also that scrolling is not allowed if the
supplied window is a pad.
Return Value:
@@ -60,7 +60,7 @@ int wscrl(WINDOW *win, int n)
dir = -1;
}
- for (l = 0; l < (n * dir); l++)
+ for (l = 0; l < (n * dir); l++)
{
temp = win->_y[start];