summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 c94617aa..5cdaa531 100644
--- a/pango/pango-layout.c
+++ b/pango/pango-layout.c
@@ -3766,7 +3766,7 @@ find_break_extra_width (PangoLayout *layout,
else
return state->hyphen_width;
}
- else if (state->start_offset + pos > 0 &&
+ else if (pos > 0 &&
layout->log_attrs[state->start_offset + pos - 1].is_white)
{
return - state->log_widths[state->log_widths_offset + pos - 1];