mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-02-14 07:30:30 +01:00
[trace] Minor tidy.
Improve scoping of variables.
This commit is contained in:
parent
931556005a
commit
7ebe9e6837
1 changed files with 4 additions and 4 deletions
|
|
@ -2614,13 +2614,13 @@ _emit_glyphs (cairo_scaled_font_t *font,
|
|||
void
|
||||
cairo_show_glyphs (cairo_t *cr, const cairo_glyph_t *glyphs, int num_glyphs)
|
||||
{
|
||||
cairo_scaled_font_t *font;
|
||||
|
||||
font = DLCALL (cairo_get_scaled_font, cr);
|
||||
|
||||
_emit_line_info ();
|
||||
if (cr != NULL && glyphs != NULL && _write_lock ()) {
|
||||
cairo_scaled_font_t *font;
|
||||
|
||||
_emit_context (cr);
|
||||
font = DLCALL (cairo_get_scaled_font, cr);
|
||||
|
||||
_emit_glyphs (font, glyphs, num_glyphs);
|
||||
fprintf (logfile, " show-glyphs\n");
|
||||
_write_unlock ();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue