]> git.lyx.org Git - features.git/commitdiff
We don't need to crash here, but can try to continue in release
authorRichard Heck <rgheck@lyx.org>
Fri, 5 Aug 2016 01:57:13 +0000 (21:57 -0400)
committerRichard Heck <rgheck@lyx.org>
Fri, 5 Aug 2016 02:46:26 +0000 (22:46 -0400)
mode.

(cherry picked from commit 0a603c5d0e370c8b9c9e0f5dfa024b6e500b2dd4)

src/output_xhtml.cpp

index 5a06b2f0a3b8c18fad06a4b28275c2730d1d5015..6e4343cbd702080a46acc6888e7af0640f60871e 100644 (file)
@@ -344,7 +344,7 @@ bool XHTMLStream::closeFontTags()
                tag_stack_.pop_back();
                // this shouldn't happen, since then the font tags
                // weren't in any other tag.
-               LBUFERR(!tag_stack_.empty());
+               LASSERT(!tag_stack_.empty(), return true);
                curtag = tag_stack_.back();
        }