comctl32: Clarify a comment.

Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
feature/deterministic
André Hentschel 2020-06-18 13:34:29 +02:00 committed by Alexandre Julliard
parent 5f9f827fd4
commit 9c11c636b3
1 changed files with 1 additions and 3 deletions

View File

@ -1379,9 +1379,7 @@ static LRESULT COMBOEX_DrawItem (COMBOEX_INFO *infoPtr, DRAWITEMSTRUCT const *di
} else {
/* drawing combo/edit entry */
if (IsWindowVisible(infoPtr->hwndEdit)) {
/* if we have an edit control, the slave the
* selection state to the Edit focus state
*/
/* if we have an edit control, set the selection state from the edit focus state */
if (infoPtr->flags & WCBE_EDITFOCUSED)
drawstate = ILD_SELECTED;
} else