[COMCTL32] -Fix a typo.
[reactos.git] / 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)
     {