Internals, Tabbar: fixed TabBarGetCurrentTab() with tab_idx == 0. (#7629)

Thanks @VerySmallRoach. Amend 3d8885cbb (#5853, #5997)
1 file changed