summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2006-02-17 08:12:18 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2006-02-17 08:12:18 +0000
commite2ac0dc88add795024e5eab08a40074de7188a2f (patch)
treef10f0842e0d0f2bca39b91ea8dcfd420e1f26c91
parent446bb0641f024ef9a67870bf1a6c829bfb69028c (diff)
downloadpango-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--ChangeLog6
-rw-r--r--pango/ellipsize.c1
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 29923b3d..060bbe27 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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++)
{