openbsd-ports/www/minimo/patches/patch-gfx_src_ps_nsFontMetricsPS_cpp
martynas 0709438e12 - update to minimo-20070320 -- 4 months with lots of changes, including
security fixes, and the wholly new interface;
- don't force optimizations;
- use external nss;
ok kili@
2007-04-01 09:36:15 +00:00

13 lines
523 B
Plaintext

$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);
}