summaryrefslogtreecommitdiff
path: root/lib/pixman
diff options
context:
space:
mode:
authorTodd T. Fries <todd@cvs.openbsd.org>2009-06-11 16:32:53 +0000
committerTodd T. Fries <todd@cvs.openbsd.org>2009-06-11 16:32:53 +0000
commit42bb1a22471c0ea486b00d71ff735d78373923ad (patch)
tree1ed2585ac82cc469f11ba4f0193c1166db39b46d /lib/pixman
parent12ae58cfa484ef608d289b4984331dc1de98eb53 (diff)
fix gcc2ism, collaboration with matthieu
Diffstat (limited to 'lib/pixman')
-rw-r--r--lib/pixman/pixman/pixman-general.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/pixman/pixman/pixman-general.c b/lib/pixman/pixman/pixman-general.c
index ed858fed5..1d0e10963 100644
--- a/lib/pixman/pixman/pixman-general.c
+++ b/lib/pixman/pixman/pixman-general.c
@@ -57,7 +57,7 @@ general_composite_rect (pixman_implementation_t *imp,
{
return_if_fail (src != NULL);
return_if_fail (dest != NULL);
-
+ {
uint8_t stack_scanline_buffer[SCANLINE_BUFFER_LENGTH * 3];
const pixman_format_code_t srcFormat = src->type == BITS ? src->bits.format : 0;
const pixman_format_code_t maskFormat = mask && mask->type == BITS ? mask->bits.format : 0;
@@ -242,6 +242,7 @@ general_composite_rect (pixman_implementation_t *imp,
if (scanline_buffer != stack_scanline_buffer)
free (scanline_buffer);
+ }
}
static void