Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
68806c44
Commit
68806c44
authored
Aug 18, 2003
by
Jon Griffiths
Committed by
Alexandre Julliard
Aug 18, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Spelling fixes.
parent
69229e7c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
time.c
dlls/kernel/time.c
+3
-3
No files found.
dlls/kernel/time.c
View file @
68806c44
...
@@ -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
;
/* sub
s
tract 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
{
{
/* cal
ulc
ate the matching day of the week in the given week */
/* cal
cul
ate 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
)
{
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment