mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-06 05:48:00 +02:00
Move declaration to beginning of function to avoid requiring a C99-compatible compiler.
This commit is contained in:
parent
7262e1554f
commit
a3ad052795
1 changed files with 2 additions and 1 deletions
|
|
@ -625,10 +625,11 @@ cairo_select_font (cairo_t *cr,
|
|||
cairo_font_t *
|
||||
cairo_current_font (cairo_t *cr)
|
||||
{
|
||||
cairo_font_t *ret;
|
||||
|
||||
if (cr->status)
|
||||
return NULL;
|
||||
|
||||
cairo_font_t *ret;
|
||||
cr->status = _cairo_gstate_current_font (cr->gstate, &ret);
|
||||
return ret;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue