patch.py?id=997918367324549717828631

Alexandre Julliard julliard at winehq.com
Thu Aug 16 13:40:37 CDT 2001


lawson_whitney at juno.com writes:

> I can't remember that I've ever seen the fixme that was here before,
> but I'll check again when I send this.

No, the CheckNotSysLevel calls were not done before. I added a few of
them in GDI to find potential locking bugs; seems pretty successful so
far ;-)

I think this should fix your problem:

Index: objects/dc.c
===================================================================
RCS file: /opt/cvs-commit/wine/objects/dc.c,v
retrieving revision 1.61
diff -u -r1.61 dc.c
--- objects/dc.c	2001/08/15 23:33:20	1.61
+++ objects/dc.c	2001/08/16 17:34:45
@@ -524,7 +524,9 @@
 	        success=FALSE;
 	}
         GDI_ReleaseObj( hdcs );
+        GDI_ReleaseObj( hdc );
 	DeleteDC( hdcs );
+        if (!(dc = DC_GetDCPtr( hdc ))) return FALSE;
     }
     GDI_ReleaseObj( hdc );
     return success;

-- 
Alexandre Julliard
julliard at winehq.com




More information about the wine-devel mailing list