Make the same fix to the disk partition editor screen.
This commit is contained in:
parent
f48bd9cf9e
commit
9a8104ec99
@ -4,7 +4,7 @@
|
|||||||
* This is probably the last program in the `sysinstall' line - the next
|
* This is probably the last program in the `sysinstall' line - the next
|
||||||
* generation being essentially a complete rewrite.
|
* 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
|
* Copyright (c) 1995
|
||||||
* Jordan Hubbard. All rights reserved.
|
* Jordan Hubbard. All rights reserved.
|
||||||
@ -188,10 +188,8 @@ diskPartition(Device *dev, Disk *d)
|
|||||||
msg = NULL;
|
msg = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
key = getch() & 0x7F;
|
key = getch();
|
||||||
if (islower(key))
|
switch (toupper(key)) {
|
||||||
key = toupper(key);
|
|
||||||
switch (key) {
|
|
||||||
|
|
||||||
case '\014': /* ^L */
|
case '\014': /* ^L */
|
||||||
clear();
|
clear();
|
||||||
@ -308,7 +306,7 @@ diskPartition(Device *dev, Disk *d)
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case '\177':
|
case KEY_DC:
|
||||||
case 'D':
|
case 'D':
|
||||||
if (chunk_info[current_chunk]->type == unused)
|
if (chunk_info[current_chunk]->type == unused)
|
||||||
msg = "Partition is already unused!";
|
msg = "Partition is already unused!";
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
* This is probably the last program in the `sysinstall' line - the next
|
* This is probably the last program in the `sysinstall' line - the next
|
||||||
* generation being essentially a complete rewrite.
|
* 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
|
* Copyright (c) 1995
|
||||||
* Jordan Hubbard. All rights reserved.
|
* Jordan Hubbard. All rights reserved.
|
||||||
@ -188,10 +188,8 @@ diskPartition(Device *dev, Disk *d)
|
|||||||
msg = NULL;
|
msg = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
key = getch() & 0x7F;
|
key = getch();
|
||||||
if (islower(key))
|
switch (toupper(key)) {
|
||||||
key = toupper(key);
|
|
||||||
switch (key) {
|
|
||||||
|
|
||||||
case '\014': /* ^L */
|
case '\014': /* ^L */
|
||||||
clear();
|
clear();
|
||||||
@ -308,7 +306,7 @@ diskPartition(Device *dev, Disk *d)
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case '\177':
|
case KEY_DC:
|
||||||
case 'D':
|
case 'D':
|
||||||
if (chunk_info[current_chunk]->type == unused)
|
if (chunk_info[current_chunk]->type == unused)
|
||||||
msg = "Partition is already unused!";
|
msg = "Partition is already unused!";
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
* This is probably the last program in the `sysinstall' line - the next
|
* This is probably the last program in the `sysinstall' line - the next
|
||||||
* generation being essentially a complete rewrite.
|
* 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
|
* Copyright (c) 1995
|
||||||
* Jordan Hubbard. All rights reserved.
|
* Jordan Hubbard. All rights reserved.
|
||||||
@ -188,10 +188,8 @@ diskPartition(Device *dev, Disk *d)
|
|||||||
msg = NULL;
|
msg = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
key = getch() & 0x7F;
|
key = getch();
|
||||||
if (islower(key))
|
switch (toupper(key)) {
|
||||||
key = toupper(key);
|
|
||||||
switch (key) {
|
|
||||||
|
|
||||||
case '\014': /* ^L */
|
case '\014': /* ^L */
|
||||||
clear();
|
clear();
|
||||||
@ -308,7 +306,7 @@ diskPartition(Device *dev, Disk *d)
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case '\177':
|
case KEY_DC:
|
||||||
case 'D':
|
case 'D':
|
||||||
if (chunk_info[current_chunk]->type == unused)
|
if (chunk_info[current_chunk]->type == unused)
|
||||||
msg = "Partition is already unused!";
|
msg = "Partition is already unused!";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user