[cairo-commit] util/cairo-trace

Chris Wilson ickle at kemper.freedesktop.org
Mon Nov 3 04:45:36 PST 2008


 util/cairo-trace/trace.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 34586860ef08e6aab988ba227997dfe376f9d319
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Mon Nov 3 12:11:14 2008 +0000

    [trace] Big-endian compile fixes.
    
    A few typos.

diff --git a/util/cairo-trace/trace.c b/util/cairo-trace/trace.c
index b8676c3..864038d 100644
--- a/util/cairo-trace/trace.c
+++ b/util/cairo-trace/trace.c
@@ -1002,7 +1002,7 @@ _emit_image (cairo_surface_t *image)
 	break;
     case CAIRO_FORMAT_A8:
 	for (row = height; row--; ) {
-	    _write_data (&ouput, data, width);
+	    _write_data (&stream, data, width);
 	    data += stride;
 	}
 	break;
@@ -1011,7 +1011,7 @@ _emit_image (cairo_surface_t *image)
 	    int col;
 	    rowdata = data;
 	    for (col = width; col--; ) {
-		_write_data (&ouput, rowdata, 3);
+		_write_data (&stream, rowdata, 3);
 		rowdata+=4;
 	    }
 	    data += stride;
@@ -1024,8 +1024,8 @@ _emit_image (cairo_surface_t *image)
 	}
 	break;
     default:
-	ASSERT_NOT_REACHED;
-	break;
+	_write_data_end (&stream);
+	return;
     }
 #else
     if (stride > ARRAY_LENGTH (row_stack)) {


More information about the cairo-commit mailing list