Skip to content

renderer: Don't divide by zero

Matthias Clasen requested to merge renderer-crash into main

Before dividing by num_glyphs in draw_strikethrough, make sure it isn't 0. This should fix reported crashes in this function.

Fixes: #599 (closed)

Merge request reports