xrender: remove an incorrect LeaveCriticalSection

Huw D M Davies h.davies1 at physics.ox.ac.uk
Wed Jun 16 09:51:10 CDT 2004


        Huw Davies <huw at codeweavers.com>
        Remove an incorrect LeaveCriticalSection
-- 
Huw Davies
huw at codeweavers.com
Index: xrender.c
===================================================================
RCS file: /home/wine/wine/dlls/x11drv/xrender.c,v
retrieving revision 1.40
diff -u -r1.40 xrender.c
--- xrender.c	15 Jun 2004 17:01:52 -0000	1.40
+++ xrender.c	16 Jun 2004 14:49:25 -0000
@@ -577,7 +577,7 @@
                                       NULL);
         }
         if(buflen == GDI_ERROR) {
-            LeaveCriticalSection(&xrender_cs);
+            ERR("GetGlyphOutlineW failed\n");
             return FALSE;
         }
         TRACE("Turning off antialiasing for this monochrome font\n");



More information about the wine-patches mailing list