summaryrefslogtreecommitdiff
path: root/pango
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 /pango
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.
Diffstat (limited to 'pango')
-rw-r--r--pango/ellipsize.c1
1 files changed, 0 insertions, 1 deletions
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++)
{