Ticket #355: xapian-core-non-spacing.patch
File xapian-core-non-spacing.patch, 495 bytes (added by , 16 years ago) |
---|
-
include/xapian/unicode.h
old new 298 298 (1 << Xapian::Unicode::DECIMAL_DIGIT_NUMBER) | 299 299 (1 << Xapian::Unicode::LETTER_NUMBER) | 300 300 (1 << Xapian::Unicode::OTHER_NUMBER) | 301 (1 << Xapian::Unicode::NON_SPACING_MARK) | /* Arabic diacritics are non-spacing */ 301 302 (1 << Xapian::Unicode::CONNECTOR_PUNCTUATION); 302 303 return ((WORDCHAR_MASK >> get_category(ch)) & 1); 303 304 }