From: Juergen Spitzmueller Date: Sun, 13 Jan 2019 10:38:28 +0000 (+0100) Subject: Fix copy-paste error X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=974f396846f840f4b6880351f8a52da983bf5d9f;p=features.git Fix copy-paste error --- diff --git a/src/Paragraph.cpp b/src/Paragraph.cpp index 457222ee37..4977c2f275 100644 --- a/src/Paragraph.cpp +++ b/src/Paragraph.cpp @@ -928,8 +928,8 @@ int Paragraph::Private::latexSurrogatePair(BufferParams const & bparams, latex2 = latex2.substr(pos, length); // We only need the script macro with non-native font encodings // and with XeTeX/LuaTeX (with TeX fonts) - if (!Encodings::needsScriptWrapper(script, fontenc) - && !runparams.isFullUnicode()) { + if (Encodings::needsScriptWrapper(script, fontenc) + || runparams.isFullUnicode()) { scriptmacro = from_ascii("\\" + script + "{"); cb = from_ascii("}"); }