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
1 changed files with 1 additions and 1 deletions

View File

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