From 960dfa5227e965d60997de87c60894ed69db386f Mon Sep 17 00:00:00 2001 From: drochner Date: Fri, 12 Feb 1999 15:49:43 +0000 Subject: [PATCH] oops - forgot to convert the trivial case (ASCII) to "match levels" --- sys/dev/ic/pcdisplay_chars.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/sys/dev/ic/pcdisplay_chars.c b/sys/dev/ic/pcdisplay_chars.c index 1b1bc5292f98..8529e2d04e06 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); }