]> git.lyx.org Git - lyx.git/blobdiff - src/tex2lyx/text.cpp
fix msvc linker error: for the linker struct and class isn't the same here
[lyx.git] / src / tex2lyx / text.cpp
index 763857e51385a18d108808c19e2ad3782bac10f1..0c49bba9dafe85fc0e362e5a3736a6d1a535bc25 100644 (file)
@@ -425,7 +425,10 @@ docstring convert_unicodesymbols(docstring s)
                                Encodings::TEXT_CMD);
                os << parsed;
                s = rem;
-               i = 0;
+               if (s.empty() || s[0] != '\\')
+                       i = 0;
+               else
+                       i = 1;
        }
        return os.str();
 }