1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-21 10:23:56 +00:00

Fix chargen statssheet

This commit is contained in:
scrawl 2013-05-23 17:27:44 +02:00
parent 2d894fde57
commit 32e90bb733

View file

@ -251,10 +251,8 @@ namespace MWGui
MyGUI::Gui::getInstance().destroyWidget(mParent->getChildAt(0)); MyGUI::Gui::getInstance().destroyWidget(mParent->getChildAt(0));
} }
boost::algorithm::replace_all(text, "\n", "\n"); boost::algorithm::replace_all(text, "<BR>", "\n");
boost::algorithm::replace_all(text, "\r", "\r"); boost::algorithm::replace_all(text, "<P>", "\n\n");
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::trim_left(text); boost::algorithm::trim_left(text);
// remove trailing " // remove trailing "