comparison src/indent.c @ 16395:c6b901f809da

(vmotion, compute_motion): Fill in ovstring_chars_done in the return value.
author Richard M. Stallman <rms@gnu.org>
date Sun, 06 Oct 1996 20:44:10 +0000
parents 3cc73a430181
children 3baea3418dec
comparison
equal deleted inserted replaced
16394:675944d1abc9 16395:c6b901f809da
1107 1107
1108 val_compute_motion.bufpos = pos; 1108 val_compute_motion.bufpos = pos;
1109 val_compute_motion.hpos = hpos; 1109 val_compute_motion.hpos = hpos;
1110 val_compute_motion.vpos = vpos; 1110 val_compute_motion.vpos = vpos;
1111 val_compute_motion.prevhpos = prev_hpos; 1111 val_compute_motion.prevhpos = prev_hpos;
1112 /* We alalways handle all of them here; none of them remain to do. */
1113 val_compute_motion.ovstring_chars_done = 0;
1112 1114
1113 /* Nonzero if have just continued a line */ 1115 /* Nonzero if have just continued a line */
1114 val_compute_motion.contin 1116 val_compute_motion.contin
1115 = (pos != from 1117 = (pos != from
1116 && (val_compute_motion.vpos != prev_vpos) 1118 && (val_compute_motion.vpos != prev_vpos)
1326 val_vmotion.bufpos = from; 1328 val_vmotion.bufpos = from;
1327 val_vmotion.vpos = vpos; 1329 val_vmotion.vpos = vpos;
1328 val_vmotion.hpos = lmargin; 1330 val_vmotion.hpos = lmargin;
1329 val_vmotion.contin = 0; 1331 val_vmotion.contin = 0;
1330 val_vmotion.prevhpos = 0; 1332 val_vmotion.prevhpos = 0;
1333 val_vmotion.ovstring_chars_done = 0;
1331 return &val_vmotion; 1334 return &val_vmotion;
1332 } 1335 }
1333 1336
1334 /* Otherwise find the correct spot by moving down */ 1337 /* Otherwise find the correct spot by moving down */
1335 } 1338 }