[cairo-commit] src/cairo-script-surface.c

Chris Wilson ickle at kemper.freedesktop.org
Wed Apr 28 02:02:00 PDT 2010


 src/cairo-script-surface.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 45d4c6e0b2fe62a3c6f1fdb7f359c9771111b470
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Wed Apr 28 10:01:06 2010 +0100

    script: Replace the missing " " after pop
    
    I accidentally deleted the whitespace after popping the recording
    surface, thus causing the scripts to be broken.

diff --git a/src/cairo-script-surface.c b/src/cairo-script-surface.c
index ac49178..b925081 100644
--- a/src/cairo-script-surface.c
+++ b/src/cairo-script-surface.c
@@ -1008,7 +1008,7 @@ _emit_recording_surface_pattern (cairo_script_surface_t *surface,
     cairo_list_del (&similar->operand.link);
     assert (target_is_active (surface));
 
-    _cairo_output_stream_puts (to_context (surface)->stream, "pop");
+    _cairo_output_stream_puts (to_context (surface)->stream, "pop ");
     cairo_surface_destroy (&similar->base);
 
     return CAIRO_STATUS_SUCCESS;


More information about the cairo-commit mailing list