aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1992-10-29 06:29:20 +0000
committerRichard M. Stallman1992-10-29 06:29:20 +0000
commit94aa5d2d372132906a20ede91a1bd928c4447e5c (patch)
treee40c2611b2d1e335906698f75f82a70c84f9b3fa /src
parentdb59472c272b9637de8889ad6cd29e75f3d65cdb (diff)
downloademacs-94aa5d2d372132906a20ede91a1bd928c4447e5c.tar.gz
emacs-94aa5d2d372132906a20ede91a1bd928c4447e5c.zip
(count_blanks): Leave argument r constant, and increment p.
Diffstat (limited to 'src')
-rw-r--r--src/dispnew.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/dispnew.c b/src/dispnew.c
index 594592f589c..3aec0bd61d2 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -328,7 +328,7 @@ line_hash_code (m, vpos)
328 if (!m->enable[vpos]) 328 if (!m->enable[vpos])
329 return 0; 329 return 0;
330 330
331 /* Give all lighlighted lines the same hash code 331 /* Give all highlighted lines the same hash code
332 so as to encourage scrolling to leave them in place. */ 332 so as to encourage scrolling to leave them in place. */
333 if (m->highlight[vpos]) 333 if (m->highlight[vpos])
334 return -1; 334 return -1;
@@ -833,7 +833,7 @@ cancel_my_columns (w)
833 They may return 0 meaning nothing was done if anything is difficult, 833 They may return 0 meaning nothing was done if anything is difficult,
834 or 1 meaning the output was performed properly. 834 or 1 meaning the output was performed properly.
835 They assume that the frame was up to date before the buffer 835 They assume that the frame was up to date before the buffer
836 change being displayed. THey make various other assumptions too; 836 change being displayed. They make various other assumptions too;
837 see command_loop_1 where these are called. */ 837 see command_loop_1 where these are called. */
838 838
839int 839int
@@ -1245,8 +1245,8 @@ count_blanks (r)
1245 register GLYPH *r; 1245 register GLYPH *r;
1246{ 1246{
1247 register GLYPH *p = r; 1247 register GLYPH *p = r;
1248 while (*r++ == SPACEGLYPH); 1248 while (*p++ == SPACEGLYPH);
1249 return r - p - 1; 1249 return p - r - 1;
1250} 1250}
1251 1251
1252static int 1252static int