summaryrefslogtreecommitdiff
path: root/graphics/kdegraphics3/patches/patch-aa
blob: f170b8ac50ef0875cc97d08f42fb5d1fa313c5d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-aa,v 1.7 2005/03/29 11:03:18 markd Exp $

--- kpdf/ui/pageview.cpp.orig	2005-03-29 11:56:20.631795000 +1200
+++ kpdf/ui/pageview.cpp
@@ -1497,7 +1497,7 @@ void PageView::slotRelayoutPages()
         // Here we find out column's width and row's height to compute a table
         // so we can place widgets 'centered in virtual cells'.
         int nCols = Settings::viewColumns(),
-            nRows = (int)ceilf( (float)pageCount / (float)nCols ),
+            nRows = (int)ceil( (float)pageCount / (float)nCols ),
             * colWidth = new int[ nCols ],
             * rowHeight = new int[ nRows ],
             cIdx = 0,