Merge pull request #1310 from akortunov/guifixes

Removed empty space before dialogue entry (bug #3892)
pull/226/head
scrawl 8 years ago committed by GitHub
commit 59eb0aba7d

@ -116,10 +116,14 @@ namespace MWGui
void Response::write(BookTypesetter::Ptr typesetter, KeywordSearchT* keywordSearch, std::map<std::string, Link*>& 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<size_t, size_t> Range;
std::map<Range, intptr_t> hyperLinks;

Loading…
Cancel
Save