aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/insdel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/insdel.c b/src/insdel.c
index 5e3f69161e0..ffe7006a45b 100644
--- a/src/insdel.c
+++ b/src/insdel.c
@@ -1556,7 +1556,7 @@ replace_range (from, to, new, prepare, inherit, markers)
1556 Z_BYTE -= nbytes_del; 1556 Z_BYTE -= nbytes_del;
1557 GPT = from; 1557 GPT = from;
1558 GPT_BYTE = from_byte; 1558 GPT_BYTE = from_byte;
1559 *(GPT_ADDR) = 0; /* Put an anchor. */ 1559 if (GAP_SIZE > 0) *(GPT_ADDR) = 0; /* Put an anchor. */
1560 1560
1561 if (GPT_BYTE < GPT) 1561 if (GPT_BYTE < GPT)
1562 abort (); 1562 abort ();
@@ -1839,7 +1839,7 @@ del_range_2 (from, from_byte, to, to_byte, ret_string)
1839 Z -= nchars_del; 1839 Z -= nchars_del;
1840 GPT = from; 1840 GPT = from;
1841 GPT_BYTE = from_byte; 1841 GPT_BYTE = from_byte;
1842 *(GPT_ADDR) = 0; /* Put an anchor. */ 1842 if (GAP_SIZE > 0) *(GPT_ADDR) = 0; /* Put an anchor. */
1843 1843
1844 if (GPT_BYTE < GPT) 1844 if (GPT_BYTE < GPT)
1845 abort (); 1845 abort ();