aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKarl Heuer1994-05-12 16:19:01 +0000
committerKarl Heuer1994-05-12 16:19:01 +0000
commitd6f08da40f6c98991c772bc28cad12117cc81fc8 (patch)
treed23ce0fc3346b2c4e19c2ba9b2cfb32b817c1bb6 /src
parent73e4e0eb1a744c0bbc50afa5015f9013110f5a79 (diff)
downloademacs-d6f08da40f6c98991c772bc28cad12117cc81fc8.tar.gz
emacs-d6f08da40f6c98991c772bc28cad12117cc81fc8.zip
(display_text_line): Fix check for end of buffer.
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index eb3e78a031f..18ae7e86dfc 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -2170,7 +2170,7 @@ display_text_line (w, start, vpos, hpos, taboffset)
2170 else if (c == '\n') 2170 else if (c == '\n')
2171 { 2171 {
2172 invis = 0; 2172 invis = 0;
2173 while (pos < end 2173 while (pos + 1 < end
2174 && selective > 0 2174 && selective > 0
2175 && indented_beyond_p (pos + 1, selective)) 2175 && indented_beyond_p (pos + 1, selective))
2176 { 2176 {