Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
fa8d59c3
Commit
fa8d59c3
authored
May 28, 2014
by
Vincent Povirk
Committed by
Alexandre Julliard
Jun 18, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Set tm_isdst before calling mktime.
parent
0b30276e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
trash.c
dlls/shell32/trash.c
+1
-0
No files found.
dlls/shell32/trash.c
View file @
fa8d59c3
...
...
@@ -515,6 +515,7 @@ static HRESULT TRASH_GetDetails(const TRASH_BUCKET *bucket, LPCSTR filename, WIN
&
del_time
.
tm_hour
,
&
del_time
.
tm_min
,
&
del_time
.
tm_sec
);
del_time
.
tm_year
-=
1900
;
del_time
.
tm_mon
--
;
del_time
.
tm_isdst
=
-
1
;
del_secs
=
mktime
(
&
del_time
);
RtlSecondsSince1970ToTime
(
del_secs
,
(
LARGE_INTEGER
*
)
&
data
->
ftLastAccessTime
);
...
...
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