Module: wine Branch: master Commit: e2f888a617f6344d9676694603edcfd173fbb9c1 URL: http://source.winehq.org/git/wine.git/?a=commit;h=e2f888a617f6344d9676694603... Author: Alexandre Julliard <julliard(a)winehq.org> Date: Tue Apr 7 20:41:30 2009 +0200 gdi32: Allow the visible region to be zero since this is the case for metafiles. --- dlls/gdi32/clipping.c | 6 ------ 1 files changed, 0 insertions(+), 6 deletions(-) diff --git a/dlls/gdi32/clipping.c b/dlls/gdi32/clipping.c index 8e80207..4e294b6 100644 --- a/dlls/gdi32/clipping.c +++ b/dlls/gdi32/clipping.c @@ -51,12 +51,6 @@ void CLIPPING_UpdateGCRegion( DC * dc ) { HRGN clip_rgn; - if (!dc->hVisRgn) - { - ERR("hVisRgn is zero. Please report this.\n" ); - exit(1); - } - /* update the intersection of meta and clip regions */ if (dc->hMetaRgn && dc->hClipRgn) {