http://bugs.winehq.org/show_bug.cgi?id=15388 --- Comment #6 from Nikolay Sivov <bunglehead(a)gmail.com> 2008-09-29 23:11:38 --- (In reply to comment #5)
Created an attachment (id=16377) --> (http://bugs.winehq.org/attachment.cgi?id=16377) [details] new patch
This what you had in mind?
Yes, but why are you duplicating a call? You could just use a result of existing one: DIB_GetBitmapInfo(bi, &width, &height, &planes, &bpp, &compr, &size); + if (DIB_GetBitmapInfo( bi, &width, &height, &planes, &bpp, &compr, &size ) == -1) return 0; -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.