diff options
Diffstat (limited to 'usr.bin/mg/echo.c')
-rw-r--r-- | usr.bin/mg/echo.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/mg/echo.c b/usr.bin/mg/echo.c index 8a39b1bceeb..fcc9beb1a2a 100644 --- a/usr.bin/mg/echo.c +++ b/usr.bin/mg/echo.c @@ -1,4 +1,4 @@ -/* $OpenBSD: echo.c,v 1.43 2005/12/20 06:17:36 kjell Exp $ */ +/* $OpenBSD: echo.c,v 1.44 2006/03/28 20:16:24 kjell Exp $ */ /* This file is in the public domain. */ @@ -63,9 +63,9 @@ eyorn(const char *sp) ewprintf("%s? (y or n) ", sp); for (;;) { s = getkey(FALSE); - if (s == 'y' || s == 'Y') + if (s == 'y' || s == 'Y' || s == ' ') return (TRUE); - if (s == 'n' || s == 'N') + if (s == 'n' || s == 'N' || s == CCHR('M')) return (FALSE); if (s == CCHR('G')) return (ctrlg(FFRAND, 1)); |