Commit 68806c44 authored by Jon Griffiths's avatar Jon Griffiths Committed by Alexandre Julliard

Spelling fixes.

parent 69229e7c
...@@ -252,7 +252,7 @@ static int _DayLightCompareDate( ...@@ -252,7 +252,7 @@ static int _DayLightCompareDate(
t <<= 32; t <<= 32;
t += (UINT)tmp_ft.dwLowDateTime; t += (UINT)tmp_ft.dwLowDateTime;
/* substract one day */ /* subtract one day */
one_day = 24*60*60; one_day = 24*60*60;
one_day *= 10000000; one_day *= 10000000;
t -= one_day; t -= one_day;
...@@ -275,7 +275,7 @@ static int _DayLightCompareDate( ...@@ -275,7 +275,7 @@ static int _DayLightCompareDate(
} }
else else
{ {
/* calulcate the matching day of the week in the given week */ /* calculate the matching day of the week in the given week */
int dif = compareDate->wDayOfWeek - tmp.wDayOfWeek; int dif = compareDate->wDayOfWeek - tmp.wDayOfWeek;
if (dif < 0) if (dif < 0)
dif += 7; dif += 7;
...@@ -483,7 +483,7 @@ VOID WINAPI GetSystemTimeAsFileTime( ...@@ -483,7 +483,7 @@ VOID WINAPI GetSystemTimeAsFileTime(
* Differences to UnixTimeToFileTime: * Differences to UnixTimeToFileTime:
* 1) Divided by CLK_TCK * 1) Divided by CLK_TCK
* 2) Time is relative. There is no 'starting date', so there is * 2) Time is relative. There is no 'starting date', so there is
* no need in offset correction, like in UnixTimeToFileTime * no need for offset correction, like in UnixTimeToFileTime
*/ */
static void TIME_ClockTimeToFileTime(clock_t unix_time, LPFILETIME filetime) static void TIME_ClockTimeToFileTime(clock_t unix_time, LPFILETIME filetime)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment