prevent endless loop

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37744 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Georg Baum 2011-02-20 18:57:13 +00:00
parent aedbdb6ce4
commit a750126b54

View 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();
}