From 9ef5363ddad505d22a56ffa5487d477bc81813e6 Mon Sep 17 00:00:00 2001 From: jtc Date: Fri, 23 May 1997 23:27:40 +0000 Subject: [PATCH] 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. --- hangman/getguess.c | 5 ++--- 1 file 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; -- 2.47.1