summaryrefslogtreecommitdiff
path: root/sys/dev/ic
diff options
context:
space:
mode:
authordrochner <drochner@NetBSD.org>1999-02-12 15:49:43 +0000
committerdrochner <drochner@NetBSD.org>1999-02-12 15:49:43 +0000
commit960dfa5227e965d60997de87c60894ed69db386f (patch)
tree52d607975b4a2b1019f7a255e76c278c2d2bc0a8 /sys/dev/ic
parent899feeac302dad07ae3616bd3084d77cdc43f298 (diff)
oops - forgot to convert the trivial case (ASCII) to "match levels"
Diffstat (limited to 'sys/dev/ic')
-rw-r--r--sys/dev/ic/pcdisplay_chars.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/dev/ic/pcdisplay_chars.c b/sys/dev/ic/pcdisplay_chars.c
index 1b1bc5292f9..8529e2d04e0 100644
--- a/sys/dev/ic/pcdisplay_chars.c
+++ b/sys/dev/ic/pcdisplay_chars.c
@@ -1,4 +1,4 @@
-/* $NetBSD: pcdisplay_chars.c,v 1.2 1999/02/12 11:32:50 drochner Exp $ */
+/* $NetBSD: pcdisplay_chars.c,v 1.3 1999/02/12 15:49:43 drochner Exp $ */
/*
* Copyright (c) 1998
@@ -303,9 +303,10 @@ pcdisplay_mapchar(id, uni, index)
{
int i;
- if (uni < 128)
- return (uni);
- else if ((uni < 256) && (isomappings[uni - 128] != NOTPRINTABLE)) {
+ if (uni < 128) {
+ *index = uni;
+ return (5);
+ } else if ((uni < 256) && (isomappings[uni - 128] != NOTPRINTABLE)) {
*index = isomappings[uni - 128];
return (5);
}