playtree.cpp has little bit problem.

About usage, announcement and development of skins for VLC
JoungEunKim
Cone that earned his stripes
Cone that earned his stripes
Posts: 150
Joined: 10 Dec 2009 00:21

playtree.cpp has little bit problem.

Postby JoungEunKim » 16 Nov 2010 23:50

Hello.

This is not a big problem.
But I report.

modules/gui/skins2/vars/playtree.cpp

Line No. 249

if( pNode->pp_children->i_children ) <--- this part has some problem. Of cause buildNode function is OK.
{
buildNode( pNode->pp_children, rTree.back() );
}

Sometimes i_children has -1 it means it don't have a child. Am I right?
So I change like this.

if( pNode->pp_children->i_children > 0 )
{
buildNode( pNode->pp_children, rTree.back() );
}


Bye!!!

erwan10
Developer
Developer
Posts: 415
Joined: 02 Nov 2008 23:16

Re: playtree.cpp has little bit problem.

Postby erwan10 » 17 Nov 2010 10:38

You're right. I will correct it.


Return to “Skins”

Who is online

Users browsing this forum: No registered users and 51 guests