1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-16 18:19:55 +00:00

Merge pull request #226 from OpenMW/master

Add OpenMW commits up to 8 Jun 2017
This commit is contained in:
David Cernat 2017-06-08 05:25:47 +03:00 committed by GitHub
commit abaa26e32a

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;