1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-29 09:32:45 +00:00

Merge pull request #1310 from akortunov/guifixes

Removed empty space before dialogue entry (bug #3892)
This commit is contained in:
scrawl 2017-06-07 21:55:45 +02:00 committed by GitHub
commit 59eb0aba7d

View File

@ -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;