Mercurial > emacs
changeset 108081:33a95d8ffa43
xdisp.c (pop_it): Fix last change.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Fri, 23 Apr 2010 18:24:39 +0300 |
parents | 78e19c135981 |
children | 38a6893c8b9e |
files | src/xdisp.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xdisp.c Fri Apr 23 18:09:11 2010 +0300 +++ b/src/xdisp.c Fri Apr 23 18:24:39 2010 +0300 @@ -5309,7 +5309,7 @@ determine the paragraph base direction if the overlay we just processed is at the beginning of a new paragraph. */ - if (it->bidi_it.first_elt) + if (it->bidi_it.first_elt && it->bidi_it.charpos < ZV) bidi_paragraph_init (it->paragraph_embedding, &it->bidi_it); /* prev_stop can be zero, so check against BEGV as well. */ while (it->bidi_it.charpos >= BEGV