uxtheme: GetObject() already returns a DIB's absolute height.

This commit is contained in:
Henri Verbeet 2010-03-01 12:39:58 +01:00 committed by Alexandre Julliard
parent 724026dc5f
commit d8c13bc5db

View file

@ -1093,7 +1093,7 @@ static BOOL prepare_alpha (HBITMAP bmp, BOOL* hasAlpha)
*hasAlpha = TRUE;
p = dib.dsBm.bmBits;
n = abs(dib.dsBmih.biHeight) * dib.dsBmih.biWidth;
n = dib.dsBmih.biHeight * dib.dsBmih.biWidth;
/* AlphaBlend() wants premultiplied alpha, so do that now */
while (n-- > 0)
{