summaryrefslogtreecommitdiff
path: root/pango/ellipsize.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2006-02-17 08:11:02 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2006-02-17 08:11:02 +0000
commita8f4e10b37a927543dfebe1a37a4d33463a209fc (patch)
tree85f717fea18ddcc9eadb46e8e1225e07b6e8ba68 /pango/ellipsize.c
parenta8de81b4d9bc9bf432ce8e194c28bb620faf18dc (diff)
downloadpango-a8f4e10b37a927543dfebe1a37a4d33463a209fc.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/ellipsize.c')
-rw-r--r--pango/ellipsize.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/pango/ellipsize.c b/pango/ellipsize.c
index 50b019aa..a8ac04c9 100644
--- a/pango/ellipsize.c
+++ b/pango/ellipsize.c
@@ -126,7 +126,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++)
{