summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2005-11-24 05:36:22 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2005-11-24 05:36:22 +0000
commit77e7f93abaeeae3ca3cd419113dd627e5d25d5a6 (patch)
treeb17f95c7407635e9c80856a1ae16a97982a162a6
parent86351a44bb497dbab0ec6720c50b7892668c8f42 (diff)
downloadpango-77e7f93abaeeae3ca3cd419113dd627e5d25d5a6.tar.gz
Fix a typo
-rw-r--r--ChangeLog4
-rw-r--r--pango/pango-layout.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 7a57ac6d..12fd153d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2005-11-24 Matthias Clasen <mclasen@redhat.com>
+
+ * pango/pango-layout.c: Fix a typo.
+
2005-11-23 Behdad Esfahbod <behdad@gnome.org>
* pango/mapping.c (pango_glyph_string_index_to_x),
diff --git a/pango/pango-layout.c b/pango/pango-layout.c
index ad0302d7..99d4e9e7 100644
--- a/pango/pango-layout.c
+++ b/pango/pango-layout.c
@@ -5009,7 +5009,7 @@ pango_layout_iter_get_char_extents (PangoLayoutIter *iter,
g_assert (cluster_rect.width == iter->cluster_width);
x0 = (iter->character_position * cluster_rect.width) / iter->cluster_num_chars;
- x1 = (iter->character_position + 1) * cluster_rect.width) / iter->cluster_num_chars;
+ x1 = ((iter->character_position + 1) * cluster_rect.width) / iter->cluster_num_chars;
logical_rect->width = x1 - x0;
logical_rect->height = cluster_rect.height;