From: Richard Heck Date: Fri, 5 Aug 2016 01:57:13 +0000 (-0400) Subject: We don't need to crash here, but can try to continue in release X-Git-Tag: 2.2.2~65 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=928c7a3d6879a1612110c6715669629cf4f6ae4a;p=features.git We don't need to crash here, but can try to continue in release mode. (cherry picked from commit 0a603c5d0e370c8b9c9e0f5dfa024b6e500b2dd4) --- diff --git a/src/output_xhtml.cpp b/src/output_xhtml.cpp index 5a06b2f0a3..6e4343cbd7 100644 --- a/src/output_xhtml.cpp +++ b/src/output_xhtml.cpp @@ -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(); }