Re: [try4] user32: cursoricon.c. Fix 16b BMP handling with BT_BITFIELD.
"Alexander Demakin" <avd(a)etersoft.ru> wrote:
This patch fixes image header handling with BT_BITFIELD value in biCompression field. 3 DWORDs of mask were included into image bits, it caused some color troubles and image horizontal shift. Size of bitmap info structure includes now this bytes. Changelog: user32.dll Fix 16b BMP handling with BT_BITFIELD.
I wonder whether gcc complained loudly that 'result' may be used uninitialized. -- Dmitry.
"Dmitry Timoshkov" <dmitry(a)codeweavers.com> wrote:
This patch fixes image header handling with BT_BITFIELD value in biCompression field. 3 DWORDs of mask were included into image bits, it caused some color troubles and image horizontal shift. Size of bitmap info structure includes now this bytes. Changelog: user32.dll Fix 16b BMP handling with BT_BITFIELD.
I wonder whether gcc complained loudly that 'result' may be used uninitialized.
Actually that's just a variable scope which needs to be fixed. -- Dmitry.
participants (1)
-
Dmitry Timoshkov