Skip to content

Commit

Permalink
[type3] Whitespace.
Browse files Browse the repository at this point in the history
Tightly scope the output stream.
  • Loading branch information
Chris Wilson committed Oct 31, 2008
1 parent 08f4d49 commit 8457972
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/cairo-type3-glyph-surface.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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);

Expand Down

0 comments on commit 8457972

Please sign in to comment.