[Bug 50097] comctl32:monthcal fails on Wednesdays!!!

WineHQ Bugzilla wine-bugs at winehq.org
Thu Nov 5 05:23:27 CST 2020


https://bugs.winehq.org/show_bug.cgi?id=50097

--- Comment #1 from Nikolay Sivov <bunglehead at gmail.com> ---
It's probably because of this logic:

mchit.pt.x = rc.right / 2;
mchit.pt.y = rc.bottom / 2;

So the day in the fourth column is used initially, which happens to be either
Wednesday or Thursday in practice. Later test tries to fix that up by adjusting
'y' in a loop, that evidently does not work very well. It's also possible that
while original pt.y does point to valid column, pt.x might miss valid day
rectangle, failing initial hittesting.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list