Build fix.
authormitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 8 Aug 2011 16:26:08 +0000 (16:26 +0000)
committermitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 8 Aug 2011 16:26:08 +0000 (16:26 +0000)
* html/NumberInputType.cpp:
(WebCore::NumberInputType::sizeShouldIncludeDecoration): Fixed an obvious typo.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@92600 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/html/NumberInputType.cpp

index 57ccf4f1ffe151ab2a630531791f37f1119f72dc..60d0f9c0dc6322f7580ca4d10648a7eefbca8a38 100644 (file)
@@ -1,3 +1,10 @@
+2011-08-08  Dan Bernstein  <mitz@apple.com>
+
+        Build fix.
+
+        * html/NumberInputType.cpp:
+        (WebCore::NumberInputType::sizeShouldIncludeDecoration): Fixed an obvious typo.
+
 2011-08-08  Andras Becsi  <abecsi@webkit.org>
 
         [Qt] Clean up project file after r92492.
index 95bccdbff10100defff1e1bdd4fcbae6c30b9c80..b92e26463dd4aad38406f0779183212fc4f08b65 100644 (file)
@@ -154,7 +154,7 @@ bool NumberInputType::sizeShouldIncludeDecoration(int defaultSize, int& preferre
 
     if (maxValueDouble < minValueDouble) {
         maxValueDouble = minValueDouble;
-        maxValueDecimalPlaces = maxValueDecimalPlaces;
+        maxValueDecimalPlaces = minValueDecimalPlaces;
     }
 
     unsigned stepValueDecimalPlaces;