comctl32: Remove dead code from MONTHCAL_HitTest.
This commit is contained in:
parent
322c2f45f8
commit
a17463b1e4
|
@ -1665,13 +1665,9 @@ MONTHCAL_HitTest(const MONTHCAL_INFO *infoPtr, MCHITTESTINFO *lpht)
|
||||||
MCHITTESTINFO htinfo;
|
MCHITTESTINFO htinfo;
|
||||||
SYSTEMTIME ht_month;
|
SYSTEMTIME ht_month;
|
||||||
INT day, calIdx;
|
INT day, calIdx;
|
||||||
UINT x, y;
|
|
||||||
|
|
||||||
if(!lpht || lpht->cbSize < MCHITTESTINFO_V1_SIZE) return -1;
|
if(!lpht || lpht->cbSize < MCHITTESTINFO_V1_SIZE) return -1;
|
||||||
|
|
||||||
x = lpht->pt.x;
|
|
||||||
y = lpht->pt.y;
|
|
||||||
|
|
||||||
htinfo.st = st_null;
|
htinfo.st = st_null;
|
||||||
|
|
||||||
/* we should preserve passed fields if hit area doesn't need them */
|
/* we should preserve passed fields if hit area doesn't need them */
|
||||||
|
|
Loading…
Reference in New Issue