summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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++)
{