openbsd-ports/www/minimo/patches/patch-gfx_src_ps_nsFontMetricsPS_cpp

13 lines
523 B
Plaintext
Raw Normal View History

$OpenBSD: patch-gfx_src_ps_nsFontMetricsPS_cpp,v 1.3 2007/04/01 09:36:15 martynas Exp $
--- gfx/src/ps/nsFontMetricsPS.cpp.orig Thu Nov 30 04:17:21 2006
+++ gfx/src/ps/nsFontMetricsPS.cpp Wed Mar 28 12:08:10 2007
@@ -995,7 +995,7 @@ nsFontPSXft::FindFont(PRUnichar aChar, const nsFont& a
fontps *fps = new fontps;
fps->entry = xftEntry;
- fps->charset = fc_charset;
+ fps->charset = FcCharSetCopy(fc_charset);
fps->fontps = nsnull;
fpi.fontps->AppendElement(fps);
}