summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Stransky <stransky@fedoraproject.org>2007-09-10 13:10:00 +0000
committerMartin Stransky <stransky@fedoraproject.org>2007-09-10 13:10:00 +0000
commit5c1d44cbf699f3ac00b5830dee6eb2d7985d110c (patch)
tree6bbdb959a5b2a3d971330a67548fafaeef8ea062
parent- Fix default page for all locales (diff)
downloadlibrewolf-fedora-ff-5c1d44cbf699f3ac00b5830dee6eb2d7985d110c.tar.gz
librewolf-fedora-ff-5c1d44cbf699f3ac00b5830dee6eb2d7985d110c.tar.bz2
librewolf-fedora-ff-5c1d44cbf699f3ac00b5830dee6eb2d7985d110c.zip
- added fix for #246248 - firefox crashes when searching for word "do"
-rw-r--r--firefox-1.5-pango-underline.patch6
-rw-r--r--firefox.spec5
2 files changed, 7 insertions, 4 deletions
diff --git a/firefox-1.5-pango-underline.patch b/firefox-1.5-pango-underline.patch
index 260be89..c6b8649 100644
--- a/firefox-1.5-pango-underline.patch
+++ b/firefox-1.5-pango-underline.patch
@@ -12,9 +12,9 @@ diff -pruN -x '.moz*' -x .deps -x 'thunderbird*' -x '*.mk' -x 'config*' -x dist
- PRInt32 i;
+ PRUint32 startOffset = 0;
+ PRUint32 textWidth = 0;
-+ PRUint32 start = PR_MAX(0,(aDetails->mStart - (PRInt32)aIndex));
-+ PRUint32 end = PR_MIN((PRInt32)aLength,(aDetails->mEnd - (PRInt32)aIndex));
-+ PRUint32 i;
++ PRInt32 start = PR_MAX(0,(aDetails->mStart - (PRInt32)aIndex));
++ PRInt32 end = PR_MIN((PRInt32)aLength,(aDetails->mEnd - (PRInt32)aIndex));
++ PRInt32 i;
if ((start < end) && ((aLength - start) > 0))
{
//aDetails allready processed to have offsets from frame start not content offsets
diff --git a/firefox.spec b/firefox.spec
index f49b2f5..cf1e07f 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -12,7 +12,7 @@
Summary: Mozilla Firefox Web browser.
Name: firefox
Version: 2.0.0.6
-Release: 6%{?dist}
+Release: 7%{?dist}
URL: http://www.mozilla.org/projects/firefox/
License: MPLv1.1 or GPLv2+ or LGPLv2+
Group: Applications/Internet
@@ -438,6 +438,9 @@ fi
#---------------------------------------------------------------------
%changelog
+* Mon Sep 10 2007 Martin Stransky <stransky@redhat.com> 2.0.0.6-7
+- added fix for #246248 - firefox crashes when searching for word "do"
+
* Thu Sep 6 2007 Christopher Aillon <caillon@redhat.com> - 2.0.0.6-6
- Fix default page for all locales
bgstack15