Commit 125138e2 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(display_text_line): Don't overrun the charstart area.

parent 203a5711
......@@ -2309,7 +2309,7 @@ display_text_line (w, start, vpos, hpos, taboffset)
if (p1 != p1prev)
int *p2x = &charstart[p1prev - p1start];
int *p2 = &charstart[p1 - p1start];
int *p2 = &charstart[(p1 < endp ? p1 : endp) - p1start];
/* The window's left column should always
contain a character position.
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