[Pixman] [PATCH 1/2] region: Formatting fix
Søren Sandmann
sandmann at cs.au.dk
Thu Oct 11 01:10:39 PDT 2012
From: Søren Sandmann Pedersen <ssp at redhat.com>
The while part of a do/while loop was formatted as if it were a while
loop with an empty body. Probably some indent tool misinterpreted the
code at some point.
---
pixman/pixman-region.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/pixman/pixman-region.c b/pixman/pixman-region.c
index 4626f9c..7dbcf9a 100644
--- a/pixman/pixman-region.c
+++ b/pixman/pixman-region.c
@@ -1517,9 +1517,7 @@ quick_sort_rects (
r++;
i++;
}
-
- while (i != numRects && (r->y1 < y1 || (r->y1 == y1 && r->x1 < x1)))
- ;
+ while (i != numRects && (r->y1 < y1 || (r->y1 == y1 && r->x1 < x1)));
r = &(rects[j]);
do
--
1.7.11.4
More information about the Pixman
mailing list