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.3.0alpha1~1143 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=0a603c5d0e370c8b9c9e0f5dfa024b6e500b2dd4;p=features.git We don't need to crash here, but can try to continue in release mode. --- diff --git a/src/output_xhtml.cpp b/src/output_xhtml.cpp index e87fe23750..252b1d1705 100644 --- a/src/output_xhtml.cpp +++ b/src/output_xhtml.cpp @@ -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(); }