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
5a45951f
Commit
5a45951f
authored
Oct 17, 2009
by
Francois Gouget
Committed by
Alexandre Julliard
Oct 19, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/monthcal: Fix compilation on systems that don't support nameless unions.
parent
a8f89a2f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
monthcal.c
dlls/comctl32/monthcal.c
+6
-6
No files found.
dlls/comctl32/monthcal.c
View file @
5a45951f
...
...
@@ -368,10 +368,10 @@ static BOOL MONTHCAL_IsSelRangeValid(const MONTHCAL_INFO *infoPtr,
SystemTimeToFileTime
(
range0
,
&
ft_range0
);
SystemTimeToFileTime
(
range1
,
&
ft_range1
);
ul_range0
.
LowPart
=
ft_range0
.
dwLowDateTime
;
ul_range0
.
HighPart
=
ft_range0
.
dwHighDateTime
;
ul_range1
.
LowPart
=
ft_range1
.
dwLowDateTime
;
ul_range1
.
HighPart
=
ft_range1
.
dwHighDateTime
;
ul_range0
.
u
.
LowPart
=
ft_range0
.
dwLowDateTime
;
ul_range0
.
u
.
HighPart
=
ft_range0
.
dwHighDateTime
;
ul_range1
.
u
.
LowPart
=
ft_range1
.
dwLowDateTime
;
ul_range1
.
u
.
HighPart
=
ft_range1
.
dwHighDateTime
;
cmp
=
CompareFileTime
(
&
ft_range0
,
&
ft_range1
);
...
...
@@ -388,8 +388,8 @@ static BOOL MONTHCAL_IsSelRangeValid(const MONTHCAL_INFO *infoPtr,
else
ul_range0
.
QuadPart
=
ul_range1
.
QuadPart
-
DAYSTO100NSECS
(
infoPtr
->
maxSelCount
-
1
);
ft_range0
.
dwLowDateTime
=
ul_range0
.
LowPart
;
ft_range0
.
dwHighDateTime
=
ul_range0
.
HighPart
;
ft_range0
.
dwLowDateTime
=
ul_range0
.
u
.
LowPart
;
ft_range0
.
dwHighDateTime
=
ul_range0
.
u
.
HighPart
;
FileTimeToSystemTime
(
&
ft_range0
,
adjust
);
}
...
...
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