[cairo-commit] cairo/src cairo-xlib-surface.c,1.94,1.95
David Reveman
commit at pdx.freedesktop.org
Tue Jul 26 22:36:02 PDT 2005
Committed by: davidr
Update of /cvs/cairo/cairo/src
In directory gabe:/tmp/cvs-serv4203/src
Modified Files:
cairo-xlib-surface.c
Log Message:
Fix infinite loop bug in xlib backend
Index: cairo-xlib-surface.c
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo-xlib-surface.c,v
retrieving revision 1.94
retrieving revision 1.95
diff -u -d -r1.94 -r1.95
--- cairo-xlib-surface.c 23 Jul 2005 12:37:23 -0000 1.94
+++ cairo-xlib-surface.c 27 Jul 2005 05:36:00 -0000 1.95
@@ -1493,7 +1493,7 @@
return screen;
for (d = 0; d < screen->ndepths; d++) {
depth = &screen->depths[d];
- for (v = 0; v < depth->nvisuals; d++)
+ for (v = 0; v < depth->nvisuals; v++)
if (visual == &depth->visuals[v])
return screen;
}
More information about the cairo-commit
mailing list