diff --git a/include/IGUITabControl.h b/include/IGUITabControl.h index f0220d39..8301238d 100644 --- a/include/IGUITabControl.h +++ b/include/IGUITabControl.h @@ -134,7 +134,7 @@ namespace gui _IRR_DEPRECATED_ virtual s32 getNumber() const { if (Parent && Parent->getType() == EGUIET_TAB_CONTROL) - return static_cast(Parent)->getTabIndex(this); + return static_cast(Parent)->getTabIndex(this); return -1; }