diff options
author | jkh <jkh@FreeBSD.org> | 1996-08-03 05:29:24 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1996-08-03 05:29:24 +0000 |
commit | c13a841e4105701ddb5f3d53af10f6761bfd0818 (patch) | |
tree | a926fcf2d34f1815f3a5a0b8ce613a97fa01bb20 /release/sysinstall/disks.c | |
parent | 05e454700fc4a200935a617c0e1b2df543aee3a8 (diff) | |
download | FreeBSD-src-c13a841e4105701ddb5f3d53af10f6761bfd0818.zip FreeBSD-src-c13a841e4105701ddb5f3d53af10f6761bfd0818.tar.gz |
Make the same fix to the disk partition editor screen.
Diffstat (limited to 'release/sysinstall/disks.c')
-rw-r--r-- | release/sysinstall/disks.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/release/sysinstall/disks.c b/release/sysinstall/disks.c index d877cf0..db49a09 100644 --- a/release/sysinstall/disks.c +++ b/release/sysinstall/disks.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: disks.c,v 1.60 1996/07/31 14:49:20 jkh Exp $ + * $Id: disks.c,v 1.61 1996/08/01 11:39:47 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -188,10 +188,8 @@ diskPartition(Device *dev, Disk *d) msg = NULL; } - key = getch() & 0x7F; - if (islower(key)) - key = toupper(key); - switch (key) { + key = getch(); + switch (toupper(key)) { case '\014': /* ^L */ clear(); @@ -308,7 +306,7 @@ diskPartition(Device *dev, Disk *d) } break; - case '\177': + case KEY_DC: case 'D': if (chunk_info[current_chunk]->type == unused) msg = "Partition is already unused!"; |