From 94b5353c71e7246077d468afe68d51ce85fc213d Mon Sep 17 00:00:00 2001 From: cgd Date: Thu, 23 Mar 1995 08:28:00 +0000 Subject: merge with Lite, new RCS id conventions, etc. --- hangman/getguess.c | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) (limited to 'hangman/getguess.c') diff --git a/hangman/getguess.c b/hangman/getguess.c index d8c5cc02..e7a31acd 100644 --- a/hangman/getguess.c +++ b/hangman/getguess.c @@ -1,6 +1,8 @@ +/* $NetBSD: getguess.c,v 1.5 1995/03/23 08:32:43 cgd Exp $ */ + /* - * Copyright (c) 1983 Regents of the University of California. - * All rights reserved. + * Copyright (c) 1983, 1993 + * The Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -32,12 +34,15 @@ */ #ifndef lint -/*static char sccsid[] = "from: @(#)getguess.c 5.4 (Berkeley) 6/1/90";*/ -static char rcsid[] = "$Id: getguess.c,v 1.4 1993/11/10 15:28:25 cgd Exp $"; +#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 $"; +#endif #endif /* not lint */ -# include -# include "hangman.h" +#include +#include "hangman.h" /* * getguess: @@ -102,7 +107,8 @@ readch() else if (ch == CTRL('L')) { wrefresh(curscr); mvcur(0, 0, curscr->cury, curscr->curx); - } else + } + else return ch; } } -- cgit v1.2.3-56-ge451