diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2008-10-31 02:16:54 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2008-10-31 02:25:22 +0000 |
commit | 8457972d40088cda165f31fdd7bd9b4c19c6e095 (patch) | |
tree | db8a44d68ec48f2b8678e0d48b1f1ddbabcab0a7 | |
parent | 08f4d49a9464bc19bc2ca7f2356a6eb8d62f5daf (diff) |
[type3] Whitespace.
Tightly scope the output stream.
-rw-r--r-- | src/cairo-type3-glyph-surface.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cairo-type3-glyph-surface.c b/src/cairo-type3-glyph-surface.c index ee516f5e..58048aca 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); |