diff options
author | jkh <jkh@FreeBSD.org> | 1996-08-01 11:39:49 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1996-08-01 11:39:49 +0000 |
commit | 6b01d10031cb63ae155d2409bcd6cac386c20f0a (patch) | |
tree | 2338fc14ec2444ad56fd5420841e4d75727234c8 /usr.sbin/sade/label.c | |
parent | af06a2d9e69e86a80a2559942d364be66f5dd707 (diff) | |
download | FreeBSD-src-6b01d10031cb63ae155d2409bcd6cac386c20f0a.zip FreeBSD-src-6b01d10031cb63ae155d2409bcd6cac386c20f0a.tar.gz |
Clean up the results from getch().
Diffstat (limited to 'usr.sbin/sade/label.c')
-rw-r--r-- | usr.sbin/sade/label.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/sade/label.c b/usr.sbin/sade/label.c index e7f3c31..6d6e76c 100644 --- a/usr.sbin/sade/label.c +++ b/usr.sbin/sade/label.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: label.c,v 1.54 1996/07/31 06:20:57 jkh Exp $ + * $Id: label.c,v 1.55 1996/07/31 09:29:32 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -497,7 +497,7 @@ diskLabel(char *str) move(23, 0); clrtoeol(); } - key = getch(); + key = getch() & 0x7F; if (islower(key)) key = toupper(key); switch (key) { |