mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-01-02 15:50:17 +01:00
Add missing status checks
This commit is contained in:
parent
85de817e09
commit
37ed55acef
1 changed files with 5 additions and 0 deletions
|
|
@ -1348,6 +1348,9 @@ _cairo_pdf_operators_show_text_glyphs (cairo_pdf_operators_t *pdf_operators,
|
|||
clusters[i].num_glyphs,
|
||||
backward,
|
||||
scaled_font);
|
||||
if (status)
|
||||
return status;
|
||||
|
||||
cur_text += clusters[i].num_bytes;
|
||||
if (!backward)
|
||||
cur_glyph += clusters[i].num_glyphs;
|
||||
|
|
@ -1361,6 +1364,8 @@ _cairo_pdf_operators_show_text_glyphs (cairo_pdf_operators_t *pdf_operators,
|
|||
1,
|
||||
FALSE,
|
||||
scaled_font);
|
||||
if (status)
|
||||
return status;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue