summaryrefslogtreecommitdiff
path: root/firefox-1.5-pango-underline.patch
diff options
context:
space:
mode:
Diffstat (limited to 'firefox-1.5-pango-underline.patch')
-rw-r--r--firefox-1.5-pango-underline.patch6
1 files changed, 3 insertions, 3 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
bgstack15