[cairo-commit] cairo/src cairo-xlib-surface.c,1.117,1.118

Owen Taylor commit at pdx.freedesktop.org
Wed Aug 31 03:50:29 EST 2005


Committed by: otaylor

Update of /cvs/cairo/cairo/src
In directory gabe:/tmp/cvs-serv27321/src

Modified Files:
	cairo-xlib-surface.c 
Log Message:
2005-08-30  Owen Taylor  <otaylor at redhat.com>

        * src/cairo-xlib-surface.c (_cairo_xlib_surface_create_internal):
        Liberalize the ServerVendor check so that we can handle
        the Mandriva vendor string. (#4298, Frederic Crozat)


Index: cairo-xlib-surface.c
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo-xlib-surface.c,v
retrieving revision 1.117
retrieving revision 1.118
diff -u -d -r1.117 -r1.118
--- cairo-xlib-surface.c	28 Aug 2005 01:49:06 -0000	1.117
+++ cairo-xlib-surface.c	30 Aug 2005 17:50:27 -0000	1.118
@@ -1646,7 +1646,7 @@
     }
 
     surface->buggy_repeat = FALSE;
-    if (strstr (ServerVendor (dpy), "The X.Org Foundation") != NULL) {
+    if (strstr (ServerVendor (dpy), "X.Org") != NULL) {
 	if (VendorRelease (dpy) <= 60802000)
 	    surface->buggy_repeat = TRUE;
     } else if (strstr (ServerVendor (dpy), "XFree86") != NULL) {



More information about the cairo-commit mailing list