Commit dc6cf568 authored by Jason Rumney's avatar Jason Rumney

(w32font_text_extents): Zero whole metrics struct first.

(compute_metrics): Don't set failure if we just cleared the cache.
parent 995feee4
2008-05-26 Jason Rumney <jasonr@gnu.org>
* w32font.c (w32font_text_extents): Zero whole metrics struct first.
(compute_metrics): Don't set failure if we just cleared the cache.
2008-05-25 Kenichi Handa <handa@m17n.org>
......
......@@ -1896,7 +1896,8 @@ static void compute_metrics (dc, w32_font, code, metrics)
w32_font->glyph_idx = 0;
clear_cached_metrics (w32_font);
}
metrics->status = W32METRIC_FAIL;
else
metrics->status = W32METRIC_FAIL;
}
}
......
Markdown is supported
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