diff options
Diffstat (limited to 'pango')
-rw-r--r-- | pango/pango-layout.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pango/pango-layout.c b/pango/pango-layout.c index e45fb69f..eb674b50 100644 --- a/pango/pango-layout.c +++ b/pango/pango-layout.c @@ -2184,9 +2184,9 @@ pango_layout_move_cursor_visually (PangoLayout *layout, else { if (old_index == line->start_index + line->length && direction < 0) - off_start = TRUE; - if (old_index == line->start_index && direction > 0) off_end = TRUE; + if (old_index == line->start_index && direction > 0) + off_start = TRUE; } if (off_start || off_end) |