diff options
author | jtc <jtc@NetBSD.org> | 1997-05-23 23:27:40 +0000 |
---|---|---|
committer | jtc <jtc@NetBSD.org> | 1997-05-23 23:27:40 +0000 |
commit | 9ef5363ddad505d22a56ffa5487d477bc81813e6 (patch) | |
tree | de85bd6c7d97ce3fb6a6170c8c70f763231d84ba /hangman/getguess.c | |
parent | 82456c5270d77902cf982b311bc87a0b0390b816 (diff) | |
download | bsdgames-darwin-9ef5363ddad505d22a56ffa5487d477bc81813e6.tar.gz bsdgames-darwin-9ef5363ddad505d22a56ffa5487d477bc81813e6.tar.zst bsdgames-darwin-9ef5363ddad505d22a56ffa5487d477bc81813e6.zip |
Remove mvcur() after wrefresh() call, as the latter does not move the
cursor. The fact that we don't have to grovel in the curses internels
for curx or cury is an added bonus.
Diffstat (limited to 'hangman/getguess.c')
-rw-r--r-- | hangman/getguess.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/hangman/getguess.c b/hangman/getguess.c index e7a31acd..ce08f882 100644 --- a/hangman/getguess.c +++ b/hangman/getguess.c @@ -1,4 +1,4 @@ -/* $NetBSD: getguess.c,v 1.5 1995/03/23 08:32:43 cgd Exp $ */ +/* $NetBSD: getguess.c,v 1.6 1997/05/23 23:27:40 jtc Exp $ */ /* * Copyright (c) 1983, 1993 @@ -37,7 +37,7 @@ #if 0 static char sccsid[] = "@(#)getguess.c 8.1 (Berkeley) 5/31/93"; #else -static char rcsid[] = "$NetBSD: getguess.c,v 1.5 1995/03/23 08:32:43 cgd Exp $"; +static char rcsid[] = "$NetBSD: getguess.c,v 1.6 1997/05/23 23:27:40 jtc Exp $"; #endif #endif /* not lint */ @@ -106,7 +106,6 @@ readch() } else if (ch == CTRL('L')) { wrefresh(curscr); - mvcur(0, 0, curscr->cury, curscr->curx); } else return ch; |