]> git.lyx.org Git - lyx.git/commitdiff
Whoops.
authorRichard Heck <rgheck@comcast.net>
Thu, 19 Nov 2009 21:56:08 +0000 (21:56 +0000)
committerRichard Heck <rgheck@comcast.net>
Thu, 19 Nov 2009 21:56:08 +0000 (21:56 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32099 a592a061-630c-0410-9148-cb99ea01b6c8

src/output_xhtml.cpp

index 8eabbc19ab8246b24a8f373ec52d52efd212eda6..ecc4220e5be6e115fa55dd6e1c88be776a486b6d 100644 (file)
@@ -143,6 +143,8 @@ void XHTMLStream::writeError(std::string const & s)
 
 bool XHTMLStream::closeFontTags()
 {
+       if (tag_stack_.empty())
+               return true;
        // first, we close any open font tags we can close
        StartTag curtag = tag_stack_.back();
        while (html::isFontTag(curtag.tag_)) {