Tracker: Replace usage of ceil by ceilf

This commit is contained in:
Philippe Saint-Pierre
2013-01-27 14:24:52 -05:00
parent 7aedc8b3e1
commit 2e6221ff11
+1 -1
View File
@@ -419,7 +419,7 @@ DraggableContainerIcon::MouseMoved(BPoint point, uint32 /*transit*/,
font_height fontHeight;
font.GetHeight(&fontHeight);
float height = ceil(fontHeight.ascent + fontHeight.descent
float height = ceilf(fontHeight.ascent + fontHeight.descent
+ fontHeight.leading + 2 + Bounds().Height() + 8);
BRect rect(0, 0, max_c(Bounds().Width(),