summaryrefslogtreecommitdiff
path: root/pango/pango-layout.c
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2000-11-20 23:39:21 +0000
committerHavoc Pennington <hp@src.gnome.org>2000-11-20 23:39:21 +0000
commit68660ec7c84a3e84f4e3cc3f787ab71d66836955 (patch)
tree1762baab04b6639a736318483dcd33b0ade3f955 /pango/pango-layout.c
parent7c0ba0994df80590bb268c8449eb34350cffa6e4 (diff)
downloadpango-68660ec7c84a3e84f4e3cc3f787ab71d66836955.tar.gz
Fix this to make iteration over runs work properly
2000-11-20 Havoc Pennington <hp@redhat.com> * pango/pango-layout.c (update_run): Fix this to make iteration over runs work properly
Diffstat (limited to 'pango/pango-layout.c')
-rw-r--r--pango/pango-layout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pango-layout.c b/pango/pango-layout.c
index 1bf2d69e..838c9830 100644
--- a/pango/pango-layout.c
+++ b/pango/pango-layout.c
@@ -3394,7 +3394,7 @@ update_run (PangoLayoutIter *iter)
*/
old_run_width = iter->run_logical_rect.width;
- if (iter->line_extents_link == iter->line_extents)
+ if (iter->run_list_link == iter->line->runs)
iter->run_x = line_ext->logical_rect.x;
else
iter->run_x += old_run_width;