Math error in SystemTimeWin
authorbeidson <beidson@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 25 Sep 2006 21:40:08 +0000 (21:40 +0000)
committerbeidson <beidson@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 25 Sep 2006 21:40:08 +0000 (21:40 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16562 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/platform/win/SystemTimeWin.cpp

index 5b9c6a186bb71387eecee645b4fa05b7f18cb4b2..9f254451f39d57672fc8500dff116957d6ae5892 100644 (file)
@@ -1,3 +1,12 @@
+2006-09-25  Brady Eidson  <beidson@apple.com>
+
+        Reviewed by Steve
+
+        Math error in SystemTimeWin
+
+        * platform/win/SystemTimeWin.cpp:
+        (WebCore::currentTime):
+
 2006-09-25  Alexey Proskuryakov  <ap@nypop.com>
 
         Reviewed by Eric.
index 25f98f7c32d50ada8973bbd829c7bd93cc98232d..e1fb7966947452970ee918d9fd6851ddb254da87 100644 (file)
@@ -50,7 +50,7 @@ double currentTime()
     // of which 89 were leap years (1700, 1800, and 1900 were not leap years).
     // That is a total of 134774 days, which is 11644473600 seconds.
 
-    return t.QuadPart * 0.0000001 + 11644473600.0;
+    return t.QuadPart * 0.0000001 - 11644473600.0;
 }
 
 }