diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-08-21 19:08:32 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-08-21 19:09:52 -0400 |
commit | b823774b132e1cddd6e4a8a423761c5c15375753 (patch) | |
tree | bf704cadf11e946d8b6d93e5c867983049e12e09 /pango/pango-layout.c | |
parent | f72ff7d4752318b48e3dd0db83a2ef0300aa898f (diff) | |
download | pango-b823774b132e1cddd6e4a8a423761c5c15375753.tar.gz |
renderer: Don't divide by zerorenderer-crash
Before dividing by num_glyphs in draw_strikethrough,
make sure it isn't 0. This should fix reported crashes
in this function.
Fixes: #599
Diffstat (limited to 'pango/pango-layout.c')
0 files changed, 0 insertions, 0 deletions