Skip to content
Commit 71e39443 authored by Matthias Clasen's avatar Matthias Clasen Committed by Kalev Lember
Browse files

renderer: Don't divide by zero

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

Fixes: #599
parent c704c8b7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment