[haiku-commits] haiku: hrev45210 - src/kits/tracker

  • From: stpere@xxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sun, 27 Jan 2013 20:28:23 +0100 (CET)

hrev45210 adds 1 changeset to branch 'master'
old head: 7aedc8b3e1187d4868bafc9a948c91f2a8bb0b6f
new head: 2e6221ff11bf30e2b3c5bf604b43ad1ff924928b
overview: http://cgit.haiku-os.org/haiku/log/?qt=range&q=2e6221f+%5E7aedc8b

----------------------------------------------------------------------------

2e6221f: Tracker: Replace usage of ceil by ceilf

                                [ Philippe Saint-Pierre <stpere@xxxxxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev45210
Commit:      2e6221ff11bf30e2b3c5bf604b43ad1ff924928b
URL:         http://cgit.haiku-os.org/haiku/commit/?id=2e6221f
Author:      Philippe Saint-Pierre <stpere@xxxxxxxxx>
Date:        Sun Jan 27 19:24:52 2013 UTC

----------------------------------------------------------------------------

1 file changed, 1 insertion(+), 1 deletion(-)
src/kits/tracker/ContainerWindow.cpp | 2 +-

----------------------------------------------------------------------------

diff --git a/src/kits/tracker/ContainerWindow.cpp 
b/src/kits/tracker/ContainerWindow.cpp
index c6cf7ce..bf3a7e5 100644
--- a/src/kits/tracker/ContainerWindow.cpp
+++ b/src/kits/tracker/ContainerWindow.cpp
@@ -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(),


Other related posts:

  • » [haiku-commits] haiku: hrev45210 - src/kits/tracker - stpere