diff options
author | Behdad Esfahbod <behdad@src.gnome.org> | 2006-09-13 18:53:50 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2006-09-13 18:53:50 +0000 |
commit | 7bf3c35e7b3070d8c9fc37dcca9097c0b9e597d6 (patch) | |
tree | 41600233f84e4b1efa013857093359f4e889de89 /pango/shape.c | |
parent | 8c633b224b3d2bb5e5ddd57a84ce492bf9505781 (diff) | |
download | pango-7bf3c35e7b3070d8c9fc37dcca9097c0b9e597d6.tar.gz |
Oops, undo stuff that were committed accidentally.
Diffstat (limited to 'pango/shape.c')
-rw-r--r-- | pango/shape.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/pango/shape.c b/pango/shape.c index fc165fbe..96abd21b 100644 --- a/pango/shape.c +++ b/pango/shape.c @@ -44,7 +44,7 @@ pango_shape (const gchar *text, PangoGlyphString *glyphs) { int i; - int last_cluster; + int last_cluster = -1; if (G_LIKELY (PANGO_IS_ENGINE_SHAPE (analysis->shape_engine) && PANGO_IS_FONT (analysis->font))) { @@ -109,8 +109,6 @@ pango_shape (const gchar *text, text, length, analysis, glyphs); } - /* make sure last_cluster is invalid */ - last_cluster = glyphs->log_clusters[0] - 1; for (i = 0; i < glyphs->num_glyphs; i++) { /* Set glyphs[i].attr.is_cluster_start based on log_clusters[] |