Commit 94aa5d2d authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(count_blanks): Leave argument r constant, and increment p.

parent db59472c
......@@ -328,7 +328,7 @@ line_hash_code (m, vpos)
if (!m->enable[vpos])
return 0;
/* Give all lighlighted lines the same hash code
/* Give all highlighted lines the same hash code
so as to encourage scrolling to leave them in place. */
if (m->highlight[vpos])
return -1;
......@@ -833,7 +833,7 @@ cancel_my_columns (w)
They may return 0 meaning nothing was done if anything is difficult,
or 1 meaning the output was performed properly.
They assume that the frame was up to date before the buffer
change being displayed. THey make various other assumptions too;
change being displayed. They make various other assumptions too;
see command_loop_1 where these are called. */
......@@ -1245,8 +1245,8 @@ count_blanks (r)
register GLYPH *r;
register GLYPH *p = r;
while (*r++ == SPACEGLYPH);
return r - p - 1;
while (*p++ == SPACEGLYPH);
return p - r - 1;
static int
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