mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-05 22:48:07 +02:00
_cairo_gstate_ensure_scaled_font: Add missing propagation for error hiding inside the scaled_font
This commit is contained in:
parent
2f1221e0f2
commit
8e72852f0b
1 changed files with 3 additions and 0 deletions
|
|
@ -1450,6 +1450,9 @@ _cairo_gstate_ensure_scaled_font (cairo_gstate_t *gstate)
|
|||
if (gstate->scaled_font == NULL)
|
||||
return CAIRO_STATUS_NO_MEMORY;
|
||||
|
||||
if (cairo_scaled_font_status (gstate->scaled_font))
|
||||
return cairo_scaled_font_status (gstate->scaled_font);
|
||||
|
||||
return CAIRO_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue