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:
parent
d505bc0119
commit
92882f2a25
3 changed files with 14 additions and 0 deletions
|
@ -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++)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue