WebPositive - TabManager - fixed off by one error in seemingly unused code.

This commit is contained in:
Stephan Aßmus
2013-06-15 23:52:36 +02:00
parent 607d59a103
commit 3d319aec26
+1 -1
View File
@@ -847,7 +847,7 @@ void
TabManager::SelectTab(const BView* containedView)
{
int32 tabIndex = TabForView(containedView);
if (tabIndex > 0)
if (tabIndex >= 0)
SelectTab(tabIndex);
}