diff options
| -rw-r--r-- | src/ChangeLog | 1 | ||||
| -rw-r--r-- | src/w32font.c | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index c67bd19a295..a25f6cb615a 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | 2008-05-26 Jason Rumney <jasonr@gnu.org> | 1 | 2008-05-26 Jason Rumney <jasonr@gnu.org> |
| 2 | 2 | ||
| 3 | * w32font.c (w32font_text_extents): Zero whole metrics struct first. | 3 | * w32font.c (w32font_text_extents): Zero whole metrics struct first. |
| 4 | (compute_metrics): Don't set failure if we just cleared the cache. | ||
| 4 | 5 | ||
| 5 | 2008-05-25 Kenichi Handa <handa@m17n.org> | 6 | 2008-05-25 Kenichi Handa <handa@m17n.org> |
| 6 | 7 | ||
diff --git a/src/w32font.c b/src/w32font.c index 22d8c26d069..64d48e2ed63 100644 --- a/src/w32font.c +++ b/src/w32font.c | |||
| @@ -1896,7 +1896,8 @@ static void compute_metrics (dc, w32_font, code, metrics) | |||
| 1896 | w32_font->glyph_idx = 0; | 1896 | w32_font->glyph_idx = 0; |
| 1897 | clear_cached_metrics (w32_font); | 1897 | clear_cached_metrics (w32_font); |
| 1898 | } | 1898 | } |
| 1899 | metrics->status = W32METRIC_FAIL; | 1899 | else |
| 1900 | metrics->status = W32METRIC_FAIL; | ||
| 1900 | } | 1901 | } |
| 1901 | } | 1902 | } |
| 1902 | 1903 | ||