http://bugs.winehq.org/show_bug.cgi?id=9728
--- Comment #19 from Lei Zhang thestig@google.com 2007-12-29 13:41:23 --- Created an attachment (id=9883) --> (http://bugs.winehq.org/attachment.cgi?id=9883) code from codeweaver's dib.c
Finally got around to it. This is the bit of code that fixes the bug.