André Hentschel : comctl32: Clarify a comment.

Alexandre Julliard julliard at winehq.org
Thu Jun 18 15:33:37 CDT 2020


Module: wine
Branch: master
Commit: 9c11c636b38143a95e5e82ebba69b439006b40d7
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=9c11c636b38143a95e5e82ebba69b439006b40d7

Author: André Hentschel <nerv at dawncrow.de>
Date:   Thu Jun 18 13:34:29 2020 +0200

comctl32: Clarify a comment.

Signed-off-by: André Hentschel <nerv at dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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 c3c39be305..61b6383136 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




More information about the wine-cvs mailing list