Fix to previous textsplit change about special dashes and apos: a few lines were removed in error

This commit is contained in:
Jean-Francois Dockes 2021-11-13 16:27:32 +01:00
parent 996a8fd5b8
commit 65ff46990e

View File

@ -216,7 +216,9 @@ static inline int whatcc(unsigned int c)
if (c <= 127) {
return charclasses[c];
} 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;
} else if (spunc.find(c) != spunc.end()) {
return SPACE;