From 8457972d40088cda165f31fdd7bd9b4c19c6e095 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Fri, 31 Oct 2008 02:16:54 +0000 Subject: [PATCH] [type3] Whitespace. Tightly scope the output stream. --- src/cairo-type3-glyph-surface.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/cairo-type3-glyph-surface.c b/src/cairo-type3-glyph-surface.c index ee516f5e3..58048aca8 100644 --- a/src/cairo-type3-glyph-surface.c +++ b/src/cairo-type3-glyph-surface.c @@ -445,7 +445,6 @@ _cairo_type3_glyph_surface_emit_glyph (void *abstract_surface, cairo_scaled_glyph_t *scaled_glyph; cairo_status_t status, status2; double x_advance, y_advance; - cairo_output_stream_t *mem_stream; cairo_matrix_t font_matrix_inverse; _cairo_type3_glyph_surface_set_stream (surface, stream); @@ -495,6 +494,8 @@ _cairo_type3_glyph_surface_emit_glyph (void *abstract_surface, - _cairo_fixed_to_double (bbox->p1.y)); if (status == CAIRO_STATUS_SUCCESS) { + cairo_output_stream_t *mem_stream; + mem_stream = _cairo_memory_stream_create (); _cairo_type3_glyph_surface_set_stream (surface, mem_stream);