summaryrefslogtreecommitdiffstats
path: root/call
diff options
context:
space:
mode:
Diffstat (limited to 'call')
-rw-r--r--call/call.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/call/call.c b/call/call.c
index 9977554..21fb4f5 100644
--- a/call/call.c
+++ b/call/call.c
@@ -479,7 +479,7 @@ WINDOW *opnstatw(int mode, wint * wintab, char *s, int lines, int cols)
void wrdstatw(WINDOW * win, char s[])
{
- int y, x;
+ int y;
if (win == NULL) {
printf(" %s\n", s);
@@ -487,7 +487,7 @@ void wrdstatw(WINDOW * win, char s[])
return;
}
waddstr(win, s);
- getyx(win, y, x);
+ y = getcury(win);
wmove(win, y + 1, 2);
wrefresh(win);
}