projects
/
xboard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
fe8b9b8
)
Remove debug printf for kanji
author
H.G.Muller
<hgm@hgm-xboard.(none)>
Mon, 2 Mar 2015 21:14:59 +0000 (22:14 +0100)
committer
H.G.Muller
<hgm@hgm-xboard.(none)>
Thu, 7 May 2015 18:53:33 +0000 (20:53 +0200)
parser.c
patch
|
blob
|
history
diff --git
a/parser.c
b/parser.c
index
8acc2da
..
4acdfae
100644
(file)
--- a/
parser.c
+++ b/
parser.c
@@
-180,7
+180,6
@@
GetKanji (char **p, int start)
int i;
if((*q & 0x80) == 0) return 0; // plain ASCII, refuse to parse
-fprintf(debugFP, "kanji %03o %03o\n", *q, q[1]);
if((**p & 0xC0) == 0x80) { // this is an illegal starting code in utf-8, so assume shift-JIS
for(i=start+JIS; kanjiTab[i]; i+=4) {
if(q[0] == kanjiTab[i+1] && q[1] == kanjiTab[i+2]) {