comparison src/insdel.c @ 20574:928b9aff1e64

(make_gap): Set GPT_BYTE along with GPT.
author Richard M. Stallman <rms@gnu.org>
date Fri, 02 Jan 1998 23:12:03 +0000
parents f0bacfbd9d47
children a6cca06d5aaf
comparison
equal deleted inserted replaced
20573:b46523ef0e0a 20574:928b9aff1e64
522 real_gap_loc_byte = GPT_BYTE; 522 real_gap_loc_byte = GPT_BYTE;
523 old_gap_size = GAP_SIZE; 523 old_gap_size = GAP_SIZE;
524 524
525 /* Call the newly allocated space a gap at the end of the whole space. */ 525 /* Call the newly allocated space a gap at the end of the whole space. */
526 GPT = Z + GAP_SIZE; 526 GPT = Z + GAP_SIZE;
527 GPT_BYTE = Z_BYTE + GAP_SIZE;
527 GAP_SIZE = nbytes_added; 528 GAP_SIZE = nbytes_added;
528 529
529 /* Move the new gap down to be consecutive with the end of the old one. 530 /* Move the new gap down to be consecutive with the end of the old one.
530 This adjusts the markers properly too. */ 531 This adjusts the markers properly too. */
531 gap_left (real_gap_loc + old_gap_size, real_gap_loc_byte + old_gap_size, 1); 532 gap_left (real_gap_loc + old_gap_size, real_gap_loc_byte + old_gap_size, 1);