aboutsummaryrefslogtreecommitdiffstats
path: root/src/doc.c
diff options
context:
space:
mode:
authorJoakim Verona2013-03-26 16:14:01 +0100
committerJoakim Verona2013-03-26 16:14:01 +0100
commit48c226c2c2592e31a47559bd1689fcc4354d9479 (patch)
tree2f79cf5a16930fbd09d965be98b6d145c9984eb6 /src/doc.c
parente11705b616777a8a72363b2037d989987630e863 (diff)
parent9536ec028c24fbedf617b67e98a108504e5b1e73 (diff)
downloademacs-48c226c2c2592e31a47559bd1689fcc4354d9479.tar.gz
emacs-48c226c2c2592e31a47559bd1689fcc4354d9479.zip
auto upstream
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;