aboutsummaryrefslogtreecommitdiff
path: root/www/seamonkey2/files
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2006-12-15 20:57:41 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2006-12-15 20:57:41 +0000
commit043a907e62bc403c5ef62fb36a419e19f7912296 (patch)
tree31b09f6d6e857b40aa37bcdd3c76abc7edcdda77 /www/seamonkey2/files
parent10cb456d1ac3f43cdf0db1980682c7298b177d50 (diff)
downloadports-043a907e62bc403c5ef62fb36a419e19f7912296.tar.gz
ports-043a907e62bc403c5ef62fb36a419e19f7912296.zip
Notes
Diffstat (limited to 'www/seamonkey2/files')
-rw-r--r--www/seamonkey2/files/patch-gfx_src_ps_nsFontMetricsPS.cpp26
1 files changed, 26 insertions, 0 deletions
diff --git a/www/seamonkey2/files/patch-gfx_src_ps_nsFontMetricsPS.cpp b/www/seamonkey2/files/patch-gfx_src_ps_nsFontMetricsPS.cpp
new file mode 100644
index 000000000000..07014d87fa82
--- /dev/null
+++ b/www/seamonkey2/files/patch-gfx_src_ps_nsFontMetricsPS.cpp
@@ -0,0 +1,26 @@
+--- gfx/src/ps/nsFontMetricsPS.cpp.orig Fri Dec 15 01:42:25 2006
++++ gfx/src/ps/nsFontMetricsPS.cpp Fri Dec 15 01:41:20 2006
+@@ -1037,8 +1037,10 @@ nsFontPSXft::Init(nsXftEntry* aEntry,
+
+ nsFontPSXft::~nsFontPSXft()
+ {
+- if (mEntry->mFace)
++ if (mEntry->mFace) {
+ FT_Done_Face(mEntry->mFace);
++ mEntry->mFace = nsnull;
++ }
+
+ if (FT_Done_FreeType(mFreeTypeLibrary))
+ return;
+@@ -2327,8 +2329,10 @@ nsXftType1Generator::Init(nsXftEntry* aE
+
+ nsXftType1Generator::~nsXftType1Generator()
+ {
+- if (mEntry->mFace)
++ if (mEntry->mFace) {
+ FT_Done_Face(mEntry->mFace);
++ mEntry->mFace = nsnull;
++ }
+
+ if (FT_Done_FreeType(mFreeTypeLibrary))
+ return;