aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--taipan.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/taipan.c b/taipan.c
index 5f59bc1..03af06b 100644
--- a/taipan.c
+++ b/taipan.c
@@ -2261,7 +2261,10 @@ void quit(void)
for(choice = 1; choice < 8; ++choice) {
if(choice == 7) crlf();
- cputc(choice + '0');
+ if(choice == port)
+ cputc(choice + '0');
+ else
+ cputc(choice + 0xb0); // inverse number
cputs(") ");
// cputs(location[choice]);
print_msg(location[choice]);