From 9c11c636b38143a95e5e82ebba69b439006b40d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Hentschel?= Date: Thu, 18 Jun 2020 13:34:29 +0200 Subject: [PATCH] comctl32: Clarify a comment. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: André Hentschel Signed-off-by: Alexandre Julliard --- dlls/comctl32/comboex.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/dlls/comctl32/comboex.c b/dlls/comctl32/comboex.c index c3c39be3058..61b63831361 100644 --- a/dlls/comctl32/comboex.c +++ b/dlls/comctl32/comboex.c @@ -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