diff options
Diffstat (limited to 'pango')
-rw-r--r-- | pango/pango-layout.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pango/pango-layout.c b/pango/pango-layout.c index 973d2a7b..9167883c 100644 --- a/pango/pango-layout.c +++ b/pango/pango-layout.c @@ -4091,6 +4091,8 @@ process_item (PangoLayout *layout, return BREAK_ALL_FIT; } + wrap = layout->wrap; + if (!no_break_at_end && can_break_at (layout, state->start_offset + item->num_chars, wrap)) { @@ -4774,7 +4776,8 @@ pango_layout_check_lines (PangoLayout *layout) PangoAttrList *itemize_attrs; PangoAttrList *shape_attrs; PangoAttrIterator iter; - PangoDirection prev_base_dir = PANGO_DIRECTION_NEUTRAL, base_dir = PANGO_DIRECTION_NEUTRAL; + PangoDirection prev_base_dir = PANGO_DIRECTION_NEUTRAL; + PangoDirection base_dir = PANGO_DIRECTION_NEUTRAL; ParaBreakState state; gboolean need_log_attrs; |