[COMCTL32] -Fix a typo.
authorGiannis Adamopoulos <gadamopoulos@reactos.org>
Mon, 7 Aug 2017 11:08:26 +0000 (11:08 +0000)
committerGiannis Adamopoulos <gadamopoulos@reactos.org>
Mon, 7 Aug 2017 11:08:26 +0000 (11:08 +0000)
svn path=/trunk/; revision=75502

reactos/dll/win32/comctl32/button.c

index aa65599..ea250e8 100644 (file)
@@ -410,7 +410,7 @@ BOOL BUTTON_DrawIml(HDC hDC, BUTTON_IMAGELIST *pimlData, RECT *prc, BOOL bOnlyCa
     {
         left = prc->left + pimlData->margin.left;
         top = prc->top + (prc->bottom - prc->top - ImageSize.cy) / 2;
-        prc->left += left + pimlData->margin.right + ImageSize.cx;
+        prc->left = left + pimlData->margin.right + ImageSize.cx;
     }
     else if (pimlData->uAlign == BUTTON_IMAGELIST_ALIGN_RIGHT)
     {