try that again

This commit is contained in:
Thomas Fussell 2017-01-01 09:12:01 -05:00
parent 7a7d44b693
commit cdb97fda82

View File

@ -34,7 +34,7 @@ rich_text::rich_text(const std::string &plain_text)
}
rich_text::rich_text(const std::string &plain_text, const class font &text_font)
: rich_text(rich_text_run{plain_text, text_font})
: rich_text(std::make_pair(plain_text, optional<font>(text_font)))
{
}