Don't retrieve a window DC in GetUpdateRect if there is nothing to
commitac0bf21abc72eacfa8e7389c9622a480c2937aa5
authorAlexandre Julliard <julliard@winehq.org>
Thu, 5 May 2005 16:52:21 +0000 (5 16:52 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 5 May 2005 16:52:21 +0000 (5 16:52 +0000)
tree7b30b3f4227eaeaff00dcd0d9367666b436ffaf2
parent759263042e48f1231be0e121a02c78c82526a2ba
Don't retrieve a window DC in GetUpdateRect if there is nothing to
erase, to avoid setting a null update region in an owned DC.
Avoid potential double delete of the update region on return from
send_erase.
dlls/user/painting.c