]> git.lyx.org Git - features.git/blobdiff - src/mathed/MathMacro.cpp
Fix bug #8468: Wrong import of UTF8 CJK.
[features.git] / src / mathed / MathMacro.cpp
index 1786e81c29d4fd3427314aaf14c843467a3d0ae7..76aafb7cd25bc9539cb51320d7b4fadebcf7cdee 100644 (file)
@@ -732,7 +732,7 @@ void MathMacro::write(WriteStream & os) const
        for (; i < cells_.size(); ++i) {
                if (cell(i).size() == 1 
                        && cell(i)[0].nucleus()->asCharInset()
-                       && cell(i)[0].nucleus()->asCharInset()->getChar() < 0x80) {
+                       && isASCII(cell(i)[0].nucleus()->asCharInset()->getChar())) {
                        if (first)
                                os << " ";
                        os << cell(i);