From 706a0137ff6a830879ee24e5ad030c8e448db9b0 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 23 Apr 2010 18:24:39 +0300 Subject: [PATCH] xdisp.c (pop_it): Fix last change. --- src/xdisp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xdisp.c b/src/xdisp.c index e68c4f6f292..86d6b75e187 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -5309,7 +5309,7 @@ pop_it (it) 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 -- 2.39.5