[PATCH 2/9] comctl32/combo: Use assignment instead of CopyRect

Gabriel Ivăncescu gabrielopcode at gmail.com
Fri Dec 28 06:22:58 CST 2018


Signed-off-by: Gabriel Ivăncescu <gabrielopcode at gmail.com>
---
 dlls/comctl32/combo.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/comctl32/combo.c b/dlls/comctl32/combo.c
index 12ea7bb..72a732a 100644
--- a/dlls/comctl32/combo.c
+++ b/dlls/comctl32/combo.c
@@ -333,7 +333,7 @@ static void CBCalcPlacement(
   /*
    * The button starts the same vertical position as the text area.
    */
-  CopyRect(lprButton, lprEdit);
+  *lprButton = *lprEdit;
 
   /*
    * If the combobox is "simple" there is no button.
-- 
2.19.1




More information about the wine-devel mailing list