mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-05 21:38:03 +02:00
[cairo-atsui-font] Minor _cairo_error() tidy.
Inline the use of _cairo_error() for slightly improved readability.
This commit is contained in:
parent
2a0267639a
commit
4442acc966
1 changed files with 1 additions and 2 deletions
|
|
@ -272,8 +272,7 @@ _cairo_atsui_font_create_scaled (cairo_font_face_t *font_face,
|
|||
|
||||
err = CreateSizedCopyOfStyle (style, &font->size, &font->font_matrix, &font->style);
|
||||
if (err != noErr) {
|
||||
_cairo_error (CAIRO_STATUS_NO_MEMORY);
|
||||
status = CAIRO_STATUS_NO_MEMORY;
|
||||
status = _cairo_error (CAIRO_STATUS_NO_MEMORY);
|
||||
goto FAIL;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue