DiskUsage: Use an int32 instead of an int

for CountTabs() which returns an int32
This commit is contained in:
John Scipione
2015-03-06 13:51:54 -05:00
parent 58f4a50b33
commit 1b53ff0784
+1 -1
View File
@@ -155,7 +155,7 @@ ControlsView::VolumeTabView::TabFrame(int32 index) const
float x = 0.0f; float x = 0.0f;
float width = 0.0f; float width = 0.0f;
float minStringWidth = StringWidth("Haiku"); float minStringWidth = StringWidth("Haiku");
int countTabs = CountTabs(); int32 countTabs = CountTabs();
// calculate the total width if no truncation is made at all // calculate the total width if no truncation is made at all
float averageWidth = Frame().Width() / countTabs; float averageWidth = Frame().Width() / countTabs;