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
1e74b637
Commit
1e74b637
authored
Mar 31, 2011
by
Gerald Pfeifer
Committed by
Alexandre Julliard
Apr 01, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: Simplify MONTHCAL_PaintLeadTrailMonths.
parent
d93b6c0a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
monthcal.c
dlls/comctl32/monthcal.c
+1
-3
No files found.
dlls/comctl32/monthcal.c
View file @
1e74b637
...
...
@@ -937,15 +937,13 @@ static void MONTHCAL_PaintFocusAndCircle(const MONTHCAL_INFO *infoPtr, HDC hdc,
/* months before first calendar month and after last calendar month */
static
void
MONTHCAL_PaintLeadTrailMonths
(
const
MONTHCAL_INFO
*
infoPtr
,
HDC
hdc
,
const
PAINTSTRUCT
*
ps
)
{
INT
prev_month
,
mask
,
length
;
INT
mask
,
length
;
SYSTEMTIME
st_max
,
st
;
if
(
infoPtr
->
dwStyle
&
MCS_NOTRAILINGDATES
)
return
;
SetTextColor
(
hdc
,
infoPtr
->
colors
[
MCSC_TRAILINGTEXT
]);
prev_month
=
infoPtr
->
calendars
[
0
].
month
.
wMonth
-
1
;
/* draw prev month */
MONTHCAL_GetMinDate
(
infoPtr
,
&
st
);
mask
=
1
<<
(
st
.
wDay
-
1
);
...
...
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