diff --git a/apps/openmw/mwgui/dialogue.cpp b/apps/openmw/mwgui/dialogue.cpp index 771e1bf95..c03673b90 100644 --- a/apps/openmw/mwgui/dialogue.cpp +++ b/apps/openmw/mwgui/dialogue.cpp @@ -116,10 +116,14 @@ namespace MWGui void Response::write(BookTypesetter::Ptr typesetter, KeywordSearchT* keywordSearch, std::map& topicLinks) const { BookTypesetter::Style* title = typesetter->createStyle("", getDialogueTextColour("header")); - typesetter->sectionBreak(9); + if (mTitle != "") + { + typesetter->sectionBreak(9); typesetter->write(title, to_utf8_span(mTitle.c_str())); - typesetter->sectionBreak(9); + } + + typesetter->sectionBreak(); typedef std::pair Range; std::map hyperLinks;