From 6b01d10031cb63ae155d2409bcd6cac386c20f0a Mon Sep 17 00:00:00 2001 From: jkh Date: Thu, 1 Aug 1996 11:39:49 +0000 Subject: Clean up the results from getch(). --- release/sysinstall/disks.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'release/sysinstall/disks.c') diff --git a/release/sysinstall/disks.c b/release/sysinstall/disks.c index cf0ccb2..d877cf0 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.59 1996/07/31 10:55:19 jkh Exp $ + * $Id: disks.c,v 1.60 1996/07/31 14:49:20 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -188,7 +188,7 @@ diskPartition(Device *dev, Disk *d) msg = NULL; } - key = getch(); + key = getch() & 0x7F; if (islower(key)) key = toupper(key); switch (key) { -- cgit v1.1