commit 4d30e00da8468374fff88bd60c9266b34eda344e
Author: Juergen Spitzmueller <sp...@lyx.org>
Date:   Tue Mar 13 16:01:13 2018 +0100

    amend ab4e9adf8626
---
 src/tex2lyx/text.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/tex2lyx/text.cpp b/src/tex2lyx/text.cpp
index 9569e05..9fbe6d5 100644
--- a/src/tex2lyx/text.cpp
+++ b/src/tex2lyx/text.cpp
@@ -623,7 +623,7 @@ pair<bool, docstring> convert_unicodesymbols(docstring s)
                else {
                        res = false;
                        for (auto const & c : known_escaped_chars)
-                               if (prefixIs(s, from_ascii("\\") + c))
+                               if (c != 0 && prefixIs(s, from_ascii("\\") + c))
                                        res = true;
                        i = 1;
                }

Reply via email to