comctl32: Remove variable old_focused which is not really used from MONTHCAL_Mouse.
This commit is contained in:
parent
c6f74e386b
commit
44f1fbced4
|
@ -2033,7 +2033,7 @@ static LRESULT
|
||||||
MONTHCAL_MouseMove(MONTHCAL_INFO *infoPtr, LPARAM lParam)
|
MONTHCAL_MouseMove(MONTHCAL_INFO *infoPtr, LPARAM lParam)
|
||||||
{
|
{
|
||||||
MCHITTESTINFO ht;
|
MCHITTESTINFO ht;
|
||||||
SYSTEMTIME old_focused, st_ht;
|
SYSTEMTIME st_ht;
|
||||||
INT hit;
|
INT hit;
|
||||||
RECT r;
|
RECT r;
|
||||||
|
|
||||||
|
@ -2054,7 +2054,6 @@ MONTHCAL_MouseMove(MONTHCAL_INFO *infoPtr, LPARAM lParam)
|
||||||
}
|
}
|
||||||
|
|
||||||
st_ht = ht.st;
|
st_ht = ht.st;
|
||||||
old_focused = infoPtr->focusedSel;
|
|
||||||
|
|
||||||
/* if pointer is over focused day still there's nothing to do */
|
/* if pointer is over focused day still there's nothing to do */
|
||||||
if(!MONTHCAL_SetDayFocus(infoPtr, &ht.st)) return 0;
|
if(!MONTHCAL_SetDayFocus(infoPtr, &ht.st)) return 0;
|
||||||
|
|
Loading…
Reference in New Issue