aboutsummaryrefslogtreecommitdiffstats
path: root/src/doc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/doc.c')
-rw-r--r--src/doc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc.c b/src/doc.c
index 7234fb38bf9..1ddaa117bba 100644
--- a/src/doc.c
+++ b/src/doc.c
@@ -826,7 +826,7 @@ Otherwise, return a new string, without any text properties. */)
826 if (NILP (tem)) /* but not on any keys */ 826 if (NILP (tem)) /* but not on any keys */
827 { 827 {
828 ptrdiff_t offset = bufp - buf; 828 ptrdiff_t offset = bufp - buf;
829 if (STRING_BYTES_BOUND - 4 < bsize) 829 if (bsize > STRING_BYTES_BOUND - 4)
830 string_overflow (); 830 string_overflow ();
831 buf = xrealloc (buf, bsize += 4); 831 buf = xrealloc (buf, bsize += 4);
832 bufp = buf + offset; 832 bufp = buf + offset;