diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2006-02-17 08:12:18 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2006-02-17 08:12:18 +0000 |
commit | e2ac0dc88add795024e5eab08a40074de7188a2f (patch) | |
tree | f10f0842e0d0f2bca39b91ea8dcfd420e1f26c91 | |
parent | 446bb0641f024ef9a67870bf1a6c829bfb69028c (diff) | |
download | pango-e2ac0dc88add795024e5eab08a40074de7188a2f.tar.gz |
Bug 329148 – pango_glyph_item_split: assertion `split_index > 0' failed
2006-02-17 Behdad Esfahbod <behdad@gnome.org>
Bug 329148 – pango_glyph_item_split: assertion `split_index > 0' failed
* pango/ellipsize.c (init_state): Do not mistakenly set start_offset = 0.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | pango/ellipsize.c | 1 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,9 @@ +2006-02-17 Behdad Esfahbod <behdad@gnome.org> + + Bug 329148 – pango_glyph_item_split: assertion `split_index > 0' failed + + * pango/ellipsize.c (init_state): Do not mistakenly set start_offset = 0. + 2006-02-07 Tor Lillqvist <tml@novell.com> * pango-zip.sh.in: Drop the timestamp from the zipfile names. diff --git a/pango/ellipsize.c b/pango/ellipsize.c index d81b9e76..061566b1 100644 --- a/pango/ellipsize.c +++ b/pango/ellipsize.c @@ -125,7 +125,6 @@ init_state (EllipsizeState *state, start_offset = g_utf8_strlen (line->layout->text, line->start_index); - start_offset = 0; state->total_width = 0; for (l = line->runs, i = 0; l; l = l->next, i++) { |