# HG changeset patch # User Karl Heuer # Date 768759541 0 # Node ID e19c18ae2d02097a146af3e41a288edddfe65e5b # Parent 48059292485b26a87bd6260e49378ff4037a514b (display_text_line): Fix check for end of buffer. diff -r 48059292485b -r e19c18ae2d02 src/xdisp.c --- 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)) {