From 2bd59412ac381ddfeca1c3b8f26307d94c82aa57 Mon Sep 17 00:00:00 2001 From: j8takagi Date: Sun, 14 Feb 2010 02:24:44 +0900 Subject: [PATCH] =?utf8?q?SVC=202=E3=81=AE=E5=8B=95=E4=BD=9C=E3=82=92?= =?utf8?q?=E3=80=81=E9=A0=98=E5=9F=9F=E3=81=AE=E6=9C=80=E5=BE=8C=E3=81=BE?= =?utf8?q?=E3=81=A7=E6=96=87=E5=AD=97=E3=82=92=E5=87=BA=E5=8A=9B=E3=81=99?= =?utf8?q?=E3=82=8B=E3=82=88=E3=81=86=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/exec.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/exec.c b/src/exec.c index 4851aea..c102d32 100644 --- a/src/exec.c +++ b/src/exec.c @@ -39,12 +39,9 @@ void svcout() setcerr(203, NULL); /* SVC output - out of Comet II memory */ return; } - if((w = memory[GR[1]+i]) == '\0') { - break; - } /* 「文字の組」の符号表に記載された文字と、改行(CR)/タブを表示 */ /* それ以外の文字は、「.」で表す */ - if((w >= 0x20 && w <= 0x7E) || w == 0xA || w == '\t') { + if(((w = memory[GR[1]+i]) >= 0x20 && w <= 0x7E) || w == 0xA || w == '\t') { putchar((char)w); } else { putchar('.'); -- 2.18.0