1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-08 15:35:02 +00:00

(insert_from_string_1): Check gap size against number

of outgoing bytes, not incoming bytes.
This commit is contained in:
Andreas Schwab 1999-08-04 11:26:17 +00:00
parent 2e4a0140b9
commit 534b98409f

View File

@ -1251,7 +1251,7 @@ insert_from_string_1 (string, pos, pos_byte, nchars, nbytes,
if (PT != GPT)
move_gap_both (PT, PT_BYTE);
if (GAP_SIZE < nbytes)
if (GAP_SIZE < outgoing_nbytes)
make_gap (outgoing_nbytes - GAP_SIZE);
UNGCPRO;