From: j8takagi Date: Thu, 1 Nov 2012 09:59:23 +0000 (+0900) Subject: メモリ内容を表示するとき、半角カナは表示しないよう仕様変更 X-Git-Tag: 0.2p2~3^2 X-Git-Url: http://j8takagi.net/cgi-bin/gitweb.cgi?p=YACASL2.git;a=commitdiff_plain;h=41f1dda7d2455c969285b2780528c1bbc4cbe951 メモリ内容を表示するとき、半角カナは表示しないよう仕様変更 --- diff --git a/src/word.c b/src/word.c index b3fa717..e355a67 100644 --- a/src/word.c +++ b/src/word.c @@ -142,7 +142,7 @@ void print_dumpword(WORD word, bool logicalmode) } fprintf(stdout, " = #%04X = %s", word, word2bit(word)); /* 「文字の組」の符号表に記載された文字と、改行(CR)/タブを表示 */ - if((word >= 0x20 && word <= 0x7E) || (word >= 0xA0 && word <= 0xFE)) { + if(word >= 0x20 && word <= 0x7E) { fprintf(stdout, " = \'%c\'", word); } else if(word == 0xA) { fprintf(stdout, " = \'\\n\'");