diff options
author | Martin Stransky <stransky@fedoraproject.org> | 2007-12-18 14:33:32 +0000 |
---|---|---|
committer | Martin Stransky <stransky@fedoraproject.org> | 2007-12-18 14:33:32 +0000 |
commit | bede30df0baea7e8e1e2f6d108a73e051cd64fc3 (patch) | |
tree | a7a6155e74c936ee389ec0edd95c6ace2d6d9d00 /firefox-1.5-pango-underline.patch | |
parent | ...and put back all of the prefs (diff) | |
download | librewolf-fedora-ff-bede30df0baea7e8e1e2f6d108a73e051cd64fc3.tar.gz librewolf-fedora-ff-bede30df0baea7e8e1e2f6d108a73e051cd64fc3.tar.bz2 librewolf-fedora-ff-bede30df0baea7e8e1e2f6d108a73e051cd64fc3.zip |
- moved to XUL Runner and updated to 3.0b3pre
- removed firefox-devel package, gecko-libs is provided by xulrunner-devel
now.
Diffstat (limited to 'firefox-1.5-pango-underline.patch')
-rw-r--r-- | firefox-1.5-pango-underline.patch | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/firefox-1.5-pango-underline.patch b/firefox-1.5-pango-underline.patch deleted file mode 100644 index c6b8649..0000000 --- a/firefox-1.5-pango-underline.patch +++ /dev/null @@ -1,39 +0,0 @@ -diff -pruN -x '.moz*' -x .deps -x 'thunderbird*' -x '*.mk' -x 'config*' -x dist -x build -x toolkit -x '*o' -x '*a' -x '*html' mozilla.orig/layout/generic/nsTextFrame.cpp mozilla/layout/generic/nsTextFrame.cpp ---- mozilla.orig/layout/generic/nsTextFrame.cpp 2006-12-20 12:53:26.000000000 +0900 -+++ mozilla/layout/generic/nsTextFrame.cpp 2006-12-20 15:43:14.000000000 +0900 -@@ -2097,11 +2097,11 @@ nsTextFrame::PaintTextDecorations(nsIRen - nsRect rect = GetRect(); - while(aDetails){ - const nscoord* sp= aSpacing; -- PRInt32 startOffset = 0; -- PRInt32 textWidth = 0; -- PRInt32 start = PR_MAX(0,(aDetails->mStart - (PRInt32)aIndex)); -- PRInt32 end = PR_MIN((PRInt32)aLength,(aDetails->mEnd - (PRInt32)aIndex)); -- PRInt32 i; -+ PRUint32 startOffset = 0; -+ PRUint32 textWidth = 0; -+ 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 -@@ -2117,7 +2117,7 @@ nsTextFrame::PaintTextDecorations(nsIRen - } - } - else -- aRenderingContext.GetWidth(aText, start, startOffset); -+ aRenderingContext.GetRangeWidth(aText, aLength, 0, start, startOffset); - } - if (sp){ - for (i = start; i < end;i ++){ -@@ -2125,8 +2125,7 @@ nsTextFrame::PaintTextDecorations(nsIRen - } - } - else -- aRenderingContext.GetWidth(aText + start, -- PRUint32(end - start), textWidth); -+ aRenderingContext.GetRangeWidth(aText, aLength, start, end, textWidth); - - } - nscoord offset, size; |