DiskUsage: Use an int32 instead of an int
for CountTabs() which returns an int32
This commit is contained in:
@@ -155,7 +155,7 @@ ControlsView::VolumeTabView::TabFrame(int32 index) const
|
||||
float x = 0.0f;
|
||||
float width = 0.0f;
|
||||
float minStringWidth = StringWidth("Haiku");
|
||||
int countTabs = CountTabs();
|
||||
int32 countTabs = CountTabs();
|
||||
|
||||
// calculate the total width if no truncation is made at all
|
||||
float averageWidth = Frame().Width() / countTabs;
|
||||
|
||||
Reference in New Issue
Block a user