[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677

darin darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 07:18:27 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit 5be0ed7493a3dee4a5c4d257ca401227bd6d302b
Author: darin <darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Thu Jan 2 19:34:45 2003 +0000

            Reviewed by John.
    
    	- fixed 3131190 -- <textarea wrap="hard"> eats text on blur
    
            * kwq/KWQTextArea.mm: (-[KWQTextArea paragraphs]): Add missing parentheses so we don't
    	always return 0 or 1 for the number of paragraphs.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@3234 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog-2003-10-25 b/WebCore/ChangeLog-2003-10-25
index 83f6727..3443138 100644
--- a/WebCore/ChangeLog-2003-10-25
+++ b/WebCore/ChangeLog-2003-10-25
@@ -1,3 +1,12 @@
+2003-01-02  Darin Adler  <darin at apple.com>
+
+        Reviewed by John.
+
+	- fixed 3131190 -- <textarea wrap="hard"> eats text on blur
+
+        * kwq/KWQTextArea.mm: (-[KWQTextArea paragraphs]): Add missing parentheses so we don't
+	always return 0 or 1 for the number of paragraphs.
+
 2002-12-31  Maciej Stachowiak  <mjs at apple.com>
 
         Reviewed by Darin.
diff --git a/WebCore/ChangeLog-2005-08-23 b/WebCore/ChangeLog-2005-08-23
index 83f6727..3443138 100644
--- a/WebCore/ChangeLog-2005-08-23
+++ b/WebCore/ChangeLog-2005-08-23
@@ -1,3 +1,12 @@
+2003-01-02  Darin Adler  <darin at apple.com>
+
+        Reviewed by John.
+
+	- fixed 3131190 -- <textarea wrap="hard"> eats text on blur
+
+        * kwq/KWQTextArea.mm: (-[KWQTextArea paragraphs]): Add missing parentheses so we don't
+	always return 0 or 1 for the number of paragraphs.
+
 2002-12-31  Maciej Stachowiak  <mjs at apple.com>
 
         Reviewed by Darin.
diff --git a/WebCore/kwq/KWQTextArea.mm b/WebCore/kwq/KWQTextArea.mm
index b08fd61..7679516 100644
--- a/WebCore/kwq/KWQTextArea.mm
+++ b/WebCore/kwq/KWQTextArea.mm
@@ -267,7 +267,7 @@ const float LargeNumberForText = 1.0e7;
 	searchRange.location += advance;
     }
     
-    return paragraphSoFar + searchRange.length == 0 ? 0 : 1;
+    return paragraphSoFar + (searchRange.length == 0 ? 0 : 1);
 }
 
 static NSRange RangeOfParagraph(NSString *text, int paragraph)

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list