diff options
author | Paul Janzen <pjanzen@cvs.openbsd.org> | 2002-07-26 19:52:04 +0000 |
---|---|---|
committer | Paul Janzen <pjanzen@cvs.openbsd.org> | 2002-07-26 19:52:04 +0000 |
commit | 313d98327cb9fb20558df398376aa1fd87f1ac71 (patch) | |
tree | c4fdf28e5eeb22b28eb3cf01f2c06403c91d45ba /games/rogue/message.c | |
parent | c8f1160fb863c2b2a47cd178a07d20d17fc7e1d2 (diff) |
We're in curses, so use getch() rather than getchar().
Diffstat (limited to 'games/rogue/message.c')
-rw-r--r-- | games/rogue/message.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/games/rogue/message.c b/games/rogue/message.c index df7c6488d61..8e6b33cad99 100644 --- a/games/rogue/message.c +++ b/games/rogue/message.c @@ -1,4 +1,4 @@ -/* $OpenBSD: message.c,v 1.8 2002/07/18 07:13:57 pjanzen Exp $ */ +/* $OpenBSD: message.c,v 1.9 2002/07/26 19:52:03 pjanzen Exp $ */ /* $NetBSD: message.c,v 1.5 1995/04/22 10:27:43 cgd Exp $ */ /* @@ -41,7 +41,7 @@ #if 0 static char sccsid[] = "@(#)message.c 8.1 (Berkeley) 5/31/93"; #else -static const char rcsid[] = "$OpenBSD: message.c,v 1.8 2002/07/18 07:13:57 pjanzen Exp $"; +static const char rcsid[] = "$OpenBSD: message.c,v 1.9 2002/07/26 19:52:03 pjanzen Exp $"; #endif #endif /* not lint */ @@ -219,7 +219,7 @@ rgetchar() int ch; for(;;) { - ch = getchar(); + ch = getch(); switch(ch) { case '\022': |