* kjs/date_object.cpp: (timetUsingCF): Fixed indenting.
authordarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 21 Feb 2005 17:32:35 +0000 (17:32 +0000)
committerdarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 21 Feb 2005 17:32:35 +0000 (17:32 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@8643 268f45cc-cd09-0410-ab3c-d52691b4dbfc

JavaScriptCore/ChangeLog
JavaScriptCore/kjs/date_object.cpp

index 1367f81fb872a3af5059d863cd263a2cf47ca904..5ce937fcd29efe9c0377ac311b55cb75647864ac 100644 (file)
@@ -1,3 +1,7 @@
+2005-02-21  Darin Adler  <darin@apple.com>
+
+        * kjs/date_object.cpp: (timetUsingCF): Fixed indenting.
+
 2005-02-17  Richard Williamson   <rjw@apple.com>
 
        Fixed <rdar://problem/4003251> Safari crashed at www.icelandair.com in LiveConnect code converting a Java object to a string
index 2b409099409ace59ead6ddcfbd713e5ac685d65d..919c56dfca640d115fd081af883f35c67b5177e3 100644 (file)
@@ -176,10 +176,10 @@ static time_t timetUsingCF(struct tm *tm, CFTimeZoneRef timeZone)
     }
 
     CFAbsoluteTime absoluteTime = CFGregorianDateGetAbsoluteTime(date, timeZone);
-       CFTimeInterval interval = absoluteTime + kCFAbsoluteTimeIntervalSince1970;
-       if (interval > LONG_MAX) {
-               interval = LONG_MAX;
-       }
+    CFTimeInterval interval = absoluteTime + kCFAbsoluteTimeIntervalSince1970;
+    if (interval > LONG_MAX) {
+        interval = LONG_MAX;
+    }
 
     return (time_t) interval;
 }