Changeset 2909


Ignore:
Timestamp:
10/11/08 03:30:53 (5 years ago)
Author:
sam
Message:

libpipi: fix a sign bug in the GDI loader.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpipi/trunk/pipi/codec/gdi.c

    r2902 r2909  
    6161    binfo.bmiHeader.biCompression = BI_RGB; 
    6262    binfo.bmiHeader.biHeight = - abs(binfo.bmiHeader.biHeight); 
    63     if(!GetDIBits(hdc, hbmap, 0, binfo.bmiHeader.biHeight, data, 
     63    if(!GetDIBits(hdc, hbmap, 0, abs(binfo.bmiHeader.biHeight), data, 
    6464                  &binfo, DIB_RGB_COLORS)) 
    6565    { 
Note: See TracChangeset for help on using the changeset viewer.