changeset 7473:e19c18ae2d02

(display_text_line): Fix check for end of buffer.
author Karl Heuer <kwzh@gnu.org>
date Thu, 12 May 1994 16:19:01 +0000
parents 48059292485b
children 9fccb6828abd
files src/xdisp.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Thu May 12 14:45:30 1994 +0000
+++ b/src/xdisp.c	Thu May 12 16:19:01 1994 +0000
@@ -2170,7 +2170,7 @@
       else if (c == '\n')
 	{
 	  invis = 0;
-	  while (pos < end
+	  while (pos + 1 < end
 		 && selective > 0
 		 && indented_beyond_p (pos + 1, selective))
 	    {