forked from teamnwah/openmw-tes3coop
Fix chargen statssheet
This commit is contained in:
parent
2d894fde57
commit
32e90bb733
1 changed files with 2 additions and 4 deletions
|
@ -251,10 +251,8 @@ namespace MWGui
|
|||
MyGUI::Gui::getInstance().destroyWidget(mParent->getChildAt(0));
|
||||
}
|
||||
|
||||
boost::algorithm::replace_all(text, "\n", "\n");
|
||||
boost::algorithm::replace_all(text, "\r", "\r");
|
||||
boost::algorithm::replace_all(text, "<BR>", "\n\n");
|
||||
boost::algorithm::replace_all(text, "<P>", "\n\n"); // tweaking by adding another newline to see if that spaces out better
|
||||
boost::algorithm::replace_all(text, "<BR>", "\n");
|
||||
boost::algorithm::replace_all(text, "<P>", "\n\n");
|
||||
boost::algorithm::trim_left(text);
|
||||
|
||||
// remove trailing "
|
||||
|
|
Loading…
Reference in a new issue