1
0
Fork 0
forked from len0rd/rockbox

Theme Editor: Made progress bar display correctly when resized, fixed some segfaults caused by editing SBS elements from a WPS document and then turning SBS rendering off

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27735 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Robert Bieber 2010-08-06 07:53:19 +00:00
parent d505bc0119
commit 92882f2a25
3 changed files with 14 additions and 0 deletions

View file

@ -542,6 +542,9 @@ void ParseTreeNode::render(const RBRenderInfo& info)
void ParseTreeNode::render(const RBRenderInfo &info, RBViewport* viewport,
bool noBreak)
{
if(!element)
return;
if(element->type == LINE)
{
for(int i = 0; i < children.count(); i++)