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
57a70f49
Commit
57a70f49
authored
Sep 20, 2011
by
Nikolay Sivov
Committed by
Alexandre Julliard
Sep 20, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/monthcal: Fix today label position.
parent
0d3b04d0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
monthcal.c
dlls/comctl32/monthcal.c
+2
-3
No files found.
dlls/comctl32/monthcal.c
View file @
57a70f49
...
...
@@ -963,9 +963,8 @@ static void MONTHCAL_PaintTodayTitle(const MONTHCAL_INFO *infoPtr, HDC hdc, cons
col
=
infoPtr
->
dwStyle
&
MCS_NOTODAYCIRCLE
?
0
:
1
;
if
(
infoPtr
->
dwStyle
&
MCS_WEEKNUMBERS
)
col
--
;
/* TODO: when multiple calendars layout is calculated use first column/last row calendar for that
imaginary day position */
MONTHCAL_GetDayRectI
(
infoPtr
,
&
text_rect
,
col
,
6
,
0
);
/* label is located below first calendar last row */
MONTHCAL_GetDayRectI
(
infoPtr
,
&
text_rect
,
col
,
6
,
infoPtr
->
dim
.
cx
*
infoPtr
->
dim
.
cy
-
infoPtr
->
dim
.
cx
);
box_rect
=
text_rect
;
GetDateFormatW
(
LOCALE_USER_DEFAULT
,
DATE_SHORTDATE
,
&
infoPtr
->
todaysDate
,
NULL
,
...
...
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