fix typo
This commit is contained in:
parent
6bdc9f5d49
commit
4f91293a4f
@ -807,7 +807,7 @@ void YabInterface::TabSet(const char* id, int num)
|
||||
myTabView = cast_as(myView->FindView(id), YabTabView);
|
||||
if(myTabView)
|
||||
{
|
||||
if(num=0 && num<=myTabView->CountTabs() && num != myTabView->Selection()+1)
|
||||
if(num>0 && num<=myTabView->CountTabs() && num != myTabView->Selection()+1)
|
||||
myTabView->Select(num-1);
|
||||
w->Unlock();
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user