summaryrefslogtreecommitdiff
path: root/payloads/libpayload
diff options
context:
space:
mode:
Diffstat (limited to 'payloads/libpayload')
-rw-r--r--payloads/libpayload/curses/PDCurses-3.4/pdcurses/clear.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/payloads/libpayload/curses/PDCurses-3.4/pdcurses/clear.c b/payloads/libpayload/curses/PDCurses-3.4/pdcurses/clear.c
index 0128df5cb8..75426e2728 100644
--- a/payloads/libpayload/curses/PDCurses-3.4/pdcurses/clear.c
+++ b/payloads/libpayload/curses/PDCurses-3.4/pdcurses/clear.c
@@ -86,14 +86,14 @@ int clrtoeol(void)
int wclrtobot(WINDOW *win)
{
- int savey = win->_cury;
- int savex = win->_curx;
-
PDC_LOG(("wclrtobot() - called\n"));
if (!win)
return ERR;
+ int savey = win->_cury;
+ int savex = win->_curx;
+
/* should this involve scrolling region somehow ? */
if (win->_cury + 1 < win->_maxy)