diff options
| author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1996-08-03 05:25:56 +0000 |
|---|---|---|
| committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1996-08-03 05:25:56 +0000 |
| commit | f48bd9cf9e0f10b506443e41d2f5dee33556818a (patch) | |
| tree | 11eae43408dbf5aed5e8cd2401148dc236d9879f /usr.sbin/sysinstall/label.c | |
| parent | 78ee1461b79647d7fcc9c9534890a342ca8fe40e (diff) | |
Notes
Diffstat (limited to 'usr.sbin/sysinstall/label.c')
| -rw-r--r-- | usr.sbin/sysinstall/label.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/usr.sbin/sysinstall/label.c b/usr.sbin/sysinstall/label.c index 6d6e76c055fd8..0c70f36bc626b 100644 --- a/usr.sbin/sysinstall/label.c +++ b/usr.sbin/sysinstall/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.55 1996/07/31 09:29:32 jkh Exp $ + * $Id: label.c,v 1.56 1996/08/01 11:39:49 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -497,10 +497,8 @@ diskLabel(char *str) move(23, 0); clrtoeol(); } - key = getch() & 0x7F; - if (islower(key)) - key = toupper(key); - switch (key) { + key = getch(); + switch (toupper(key)) { int i; static char _msg[40]; @@ -728,7 +726,7 @@ diskLabel(char *str) } break; - case '\177': + case KEY_DC: case 'D': /* delete */ if (label_chunk_info[here].type == PART_SLICE) { msg = MSG_NOT_APPLICABLE; |
