http://git.etersoft.ru/projects
/
wine
/
eterwine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f65a83
)
comctl32/monthcal: Fix hit test for previous month.
author
Nikolay Sivov
<nsivov@codeweavers.com>
Sat, 26 Mar 2011 01:05:59 +0000
(
04:05
+0300)
committer
Alexandre Julliard
<julliard@winehq.org>
Mon, 28 Mar 2011 15:30:45 +0000
(17:30 +0200)
dlls/comctl32/monthcal.c
patch
|
blob
|
blame
|
history
diff --git
a/dlls/comctl32/monthcal.c
b/dlls/comctl32/monthcal.c
index 745ccbdc6dd06df6227ca43afbb645d697c578b1..28af0512958421d39987f25309fdbb56de06a55f 100644
(file)
--- a/
dlls/comctl32/monthcal.c
+++ b/
dlls/comctl32/monthcal.c
@@
-1727,7
+1727,7
@@
MONTHCAL_HitTest(const MONTHCAL_INFO *infoPtr, MCHITTESTINFO *lpht)
{
htinfo.uHit = MCHT_CALENDARDATEPREV;
MONTHCAL_GetPrevMonth(&htinfo.st);
- htinfo.st.wDay = MONTHCAL_MonthLength(
lpht->st.wMonth, lpht->
st.wYear) + day;
+ htinfo.st.wDay = MONTHCAL_MonthLength(
htinfo.st.wMonth, htinfo.
st.wYear) + day;
}
else if (day > MONTHCAL_MonthLength(ht_month.wMonth, ht_month.wYear))
{