Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
1105ff20
Commit
1105ff20
authored
Jun 03, 1994
by
Karl Heuer
Browse files
(display_text_line): Make sure pointer is in range.
parent
03993eef
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
4 deletions
+12
-4
src/xdisp.c
src/xdisp.c
+12
-4
No files found.
src/xdisp.c
View file @
1105ff20
...
...
@@ -2196,8 +2196,12 @@ display_text_line (w, start, vpos, hpos, taboffset)
/* Draw the face of the newline character as extending all the
way to the end of the frame line. */
if (current_face)
while (p1 < endp)
*p1++ = FAST_MAKE_GLYPH (' ', current_face);
{
if (p1 < leftmargin)
p1 = leftmargin;
while (p1 < endp)
*p1++ = FAST_MAKE_GLYPH (' ', current_face);
}
#endif
break;
}
...
...
@@ -2229,8 +2233,12 @@ display_text_line (w, start, vpos, hpos, taboffset)
/* Draw the face of the newline character as extending all the
way to the end of the frame line. */
if (current_face)
while (p1 < endp)
*p1++ = FAST_MAKE_GLYPH (' ', current_face);
{
if (p1 < leftmargin)
p1 = leftmargin;
while (p1 < endp)
*p1++ = FAST_MAKE_GLYPH (' ', current_face);
}
#endif
break;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment