]> 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:00:18 +0000 (22:00 -0400)
mode.

src/output_xhtml.cpp

index e87fe23750232b3aaa7223a3c67064329d17ba73..252b1d1705be20ad7411c3588b589f8ecd99372e 100644 (file)
@@ -347,7 +347,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();
        }