[Xcb-commit] xcb-util/image xcb_image.c,1.6,1.7
Vincent Torri
xcb-commit at lists.freedesktop.org
Fri Jan 20 00:47:09 PST 2006
Update of /cvs/xcb/xcb-util/image
In directory gabe:/tmp/cvs-serv18073
Modified Files:
xcb_image.c
Log Message:
I was young, full of false ideas...
Index: xcb_image.c
===================================================================
RCS file: /cvs/xcb/xcb-util/image/xcb_image.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- xcb_image.c 20 Jun 2005 16:45:52 -0000 1.6
+++ xcb_image.c 20 Jan 2006 08:47:06 -0000 1.7
@@ -305,13 +305,12 @@
else
{
XCBFORMATIter iter;
- int cur;
dest_bits_per_pixel = image->bits_per_pixel;
dest_scanline_pad = image->bitmap_format_scanline_pad;
left_pad = 0;
iter = XCBConnSetupSuccessRepPixmapFormatsIter (XCBGetSetup (conn));
- for (cur = 0 ; cur < iter.rem ; cur++, XCBFORMATNext (&iter))
+ for (; iter.rem ; XCBFORMATNext (&iter))
if (iter.data->depth == image->depth)
{
dest_bits_per_pixel = iter.data->bits_per_pixel;
More information about the xcb-commit
mailing list