summaryrefslogtreecommitdiff
path: root/lib/libcurses/lib_move.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libcurses/lib_move.c')
-rw-r--r--lib/libcurses/lib_move.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/lib/libcurses/lib_move.c b/lib/libcurses/lib_move.c
index 547aa1762e3..3799bb57a8a 100644
--- a/lib/libcurses/lib_move.c
+++ b/lib/libcurses/lib_move.c
@@ -27,12 +27,14 @@
**
*/
-#include "curses.priv.h"
+#include <curses.priv.h>
+
+MODULE_ID("Id: lib_move.c,v 1.6 1997/02/02 00:00:47 tom Exp $")
int
wmove(WINDOW *win, int y, int x)
{
- T(("wmove(%p,%d,%d) called", win, y, x));
+ T((T_CALLED("wmove(%p,%d,%d)"), win, y, x));
if (x >= 0 && x <= win->_maxx &&
y >= 0 && y <= win->_maxy)
@@ -40,9 +42,9 @@ wmove(WINDOW *win, int y, int x)
win->_curx = (short)x;
win->_cury = (short)y;
- win->_flags &= ~_NEED_WRAP;
+ win->_flags &= ~_WRAPPED;
win->_flags |= _HASMOVED;
- return(OK);
+ returnCode(OK);
} else
- return(ERR);
+ returnCode(ERR);
}