summaryrefslogtreecommitdiff
path: root/test/operator-source.c
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2006-06-06 15:38:58 -0700
committerCarl Worth <cworth@cworth.org>2006-06-06 15:38:58 -0700
commit00592e075754594605fddfb2a702f3d2caa7c55c (patch)
treed7c7d26802dc158b262aa22cb836e12416217959 /test/operator-source.c
parent4670366ede0b0ed1abf47f4595a64bc5cd3c19fc (diff)
Remove trailing whitespace from lines with a single brace.
This patch was produced with the following (GNU) sed script: sed -i -r -e '/^[ \t]*[{}][ \t]*/ s/[ \t]+$//' run on all *.[ch] files within cairo.
Diffstat (limited to 'test/operator-source.c')
-rw-r--r--test/operator-source.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/operator-source.c b/test/operator-source.c
index b61a6c521..fd9ad5bf9 100644
--- a/test/operator-source.c
+++ b/test/operator-source.c
@@ -133,7 +133,7 @@ draw_glyphs (cairo_t *cr, int x, int y)
static void
draw_polygon (cairo_t *cr, int x, int y)
-{
+{
double width = (int)(0.9 * WIDTH);
double height = (int)(0.9 * HEIGHT);
x += 0.05 * WIDTH;
@@ -152,7 +152,7 @@ draw_polygon (cairo_t *cr, int x, int y)
static void
draw_rects (cairo_t *cr, int x, int y)
-{
+{
double block_width = (int)(0.33 * WIDTH + 0.5);
double block_height = (int)(0.33 * HEIGHT + 0.5);
int i, j;