]> git.lyx.org Git - lyx.git/blobdiff - src/Font.cpp
Differentiate backups from autosave files (#12659)
[lyx.git] / src / Font.cpp
index cd741d1239df86ba143c092427021f44be54e61b..0e4aa2b24b42cef0192685998baa12eaa19d515e 100644 (file)
@@ -294,7 +294,7 @@ int Font::latexWriteStartChanges(otexstream & os, BufferParams const & bparams,
                        os << "\\textLR{";
                        count += 8;
                // currently the remaining RTL languages are arabic_arabtex and hebrew
-               } else if (isRightToLeft() != prev.isRightToLeft()) {
+               } else if (isRightToLeft() != prev.isRightToLeft() && !runparams.isFullUnicode()) {
                        if (needs_cprotection) {
                                os << "\\cprotect";
                                count += 9;