From a70f73c85fadfdd0a95879bd935e239d60220561 Mon Sep 17 00:00:00 2001 From: "brendan%mozilla.org" Date: Mon, 1 May 2006 22:25:19 +0000 Subject: [PATCH] Tab and style policing. --- js/src/jsdate.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/js/src/jsdate.c b/js/src/jsdate.c index 8c745418cb9..0b90f0978b6 100644 --- a/js/src/jsdate.c +++ b/js/src/jsdate.c @@ -359,14 +359,15 @@ static jsint yearStartingWith[2][7] = { * incorrect year for times near year boundaries. */ static jsint -EquivalentYearForDST(jsint year) { +EquivalentYearForDST(jsint year) +{ jsint day; JSBool isLeapYear; day = (jsint) DayFromYear(year) + 4; day = day % 7; if (day < 0) - day += 7; + day += 7; isLeapYear = (DaysInYear(year) == 366);