http://bugs.winehq.org/show_bug.cgi?id=31979
Daniel Santos daniel.santos@pobox.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #42144|0 |1 is obsolete| |
--- Comment #35 from Daniel Santos daniel.santos@pobox.com 2012-10-16 16:33:14 CDT --- Created attachment 42168 --> http://bugs.winehq.org/attachment.cgi?id=42168 revised patch
Yes, you are correct. Mia cupla.
MSDN says that they are idiots and that Gates has a small **nis. We already knew that part, but they also say to use SetLastError prior to calling MapWindowPoints to distinguish an error from a valid zero offset. This sounds really stupid to me, since the damn thing should just always set an error or clear the condition IMO.
But I suppose we can play that game. I'm going by the assumption that can be called while we have an error that hasn't been checked yet, since it is not supposed to alter the last error its self.
Since I'm short on time, please note that this patch has *not* been tested yet. However, I will test it when I return later this evening.