mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-01-04 18:00:21 +01:00
[cairo-xlib-surface.c] Fix memmove bug
This was introduced in b7272e9e8e
This commit is contained in:
parent
4dd4d96fb1
commit
537ffa7628
1 changed files with 1 additions and 1 deletions
|
|
@ -2975,7 +2975,7 @@ _cairo_xlib_surface_add_glyph (Display *dpy,
|
|||
to_free->glyph_count--;
|
||||
memmove (&to_free->glyph_indices[i],
|
||||
&to_free->glyph_indices[i+1],
|
||||
(to_free->glyph_count - i) * sizeof (to_free->glyph_indices));
|
||||
(to_free->glyph_count - i) * sizeof (to_free->glyph_indices[0]));
|
||||
goto DONE;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue