[Bug 11893] GdipBitmapUnLockBit does not accept null rect pointer

wine-bugs at winehq.org wine-bugs at winehq.org
Sat May 17 08:01:04 CDT 2008


http://bugs.winehq.org/show_bug.cgi?id=11893


Nikolay Sivov <bunglehead at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bunglehead at gmail.com




--- Comment #1 from Nikolay Sivov <bunglehead at gmail.com>  2008-05-17 08:01:04 ---
(In reply to comment #0)
> native gdiplus GdipBitmapUnLockBit accepts null pointer to its rect argument
> and interprets it as rect for the whole bitmap.

Your report seems to be a little quest:
1. GdipBitmapUnLockBit doesn't exist.
2. GdipBitmapUnLockBits doesn't have a rect argument.
3. I hope GdipBitmapLockBits is what you meant.)

If it's so you're right. I tested it on native and it actually behave like you
described.

Please try attached patch (diffed with current git if it's important).
Does it affect any real application or this report is a result of your own
development?


-- 
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.



More information about the wine-bugs mailing list