Commit d6f08da4 authored by Karl Heuer's avatar Karl Heuer
Browse files

(display_text_line): Fix check for end of buffer.

parent 73e4e0eb
......@@ -2170,7 +2170,7 @@ display_text_line (w, start, vpos, hpos, taboffset)
else if (c == '\n')
{
invis = 0;
while (pos < end
while (pos + 1 < end
&& selective > 0
&& indented_beyond_p (pos + 1, selective))
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment