summaryrefslogtreecommitdiff
path: root/editors/abiword/patches/patch-sc
blob: f50082fbd36dea697cc490befd4f7f22702d0b43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-sc,v 1.1 2007/11/14 15:41:41 rillig Exp $

--- src/af/xap/unix/xap_UnixFont.cpp.orig	2005-10-10 01:28:07.000000000 +0200
+++ src/af/xap/unix/xap_UnixFont.cpp	2007-11-14 14:31:07.730470000 +0100
@@ -151,7 +151,7 @@ bool XAP_UnixFontHandle::doesGlyphExist(
 
 static float fixedToFloat(signed long in)
 {
-  float res = static_cast<float>(in*64);
+	return float(in * 64);
 }
 //
 // UT_Rect of glyph in Logical units.