[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc

tonikitoo at webkit.org tonikitoo at webkit.org
Wed Dec 22 11:25:15 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit dd4d7e5ad0d0e1c78c3d4a49925513b4b44950a7
Author: tonikitoo at webkit.org <tonikitoo at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Thu Jul 22 21:34:13 2010 +0000

    Fix build warning for missing parentheses.
    
    Reviewed by Laszlo Gombos.
    Patch by Antonio Gomes <tonikitoo at webkit.org>
    
    WebCore/html/HTMLInputElement.cpp:113: warning: suggest parentheses around '&&' within '||'
    
    * html/HTMLInputElement.cpp:
    (WebCore::isNumberCharacter):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63915 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index 763d569..7714f69 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,14 @@
+2010-07-22  Antonio Gomes  <tonikitoo at webkit.org>
+
+        Reviewed by Laszlo Gombos.
+
+        Fix build warning for missing parentheses.
+
+        WebCore/html/HTMLInputElement.cpp:113: warning: suggest parentheses around '&&' within '||'
+
+        * html/HTMLInputElement.cpp:
+        (WebCore::isNumberCharacter):
+
 2010-07-22  John Gregg  <johnnyg at google.com>
 
         Reviewed by Kent Tamura.
diff --git a/WebCore/html/HTMLInputElement.cpp b/WebCore/html/HTMLInputElement.cpp
index 00dc503..2ce35b1 100644
--- a/WebCore/html/HTMLInputElement.cpp
+++ b/WebCore/html/HTMLInputElement.cpp
@@ -110,7 +110,7 @@ static const double msecPerSecond = 1000;
 static bool isNumberCharacter(UChar ch)
 {
     return ch == '+' || ch == '-' || ch == '.' || ch == 'e' || ch == 'E'
-        || ch >= '0' && ch <= '9';
+        || (ch >= '0' && ch <= '9');
 }
 
 HTMLInputElement::HTMLInputElement(const QualifiedName& tagName, Document* document, HTMLFormElement* form)

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list