Fix to previous textsplit change about special dashes and apos: a few lines were removed in error
This commit is contained in:
parent
996a8fd5b8
commit
65ff46990e
@ -216,7 +216,9 @@ static inline int whatcc(unsigned int c)
|
|||||||
if (c <= 127) {
|
if (c <= 127) {
|
||||||
return charclasses[c];
|
return charclasses[c];
|
||||||
} else {
|
} else {
|
||||||
if (sskip.find(c) != sskip.end()) {
|
if (c == 0x2010 || c == 0x2019 || c == 0x275c || c == 0x02bc) {
|
||||||
|
return c;
|
||||||
|
} else if (sskip.find(c) != sskip.end()) {
|
||||||
return SKIP;
|
return SKIP;
|
||||||
} else if (spunc.find(c) != spunc.end()) {
|
} else if (spunc.find(c) != spunc.end()) {
|
||||||
return SPACE;
|
return SPACE;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user