aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/rbuffer.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2016-06-26 14:36:24 -0400
committerGitHub <noreply@github.com>2016-06-26 14:36:24 -0400
commite9061117a5b8f195c3f26a5cb94e18ddd7752d86 (patch)
tree047ee719b18c2b80a2a1b2acec2de1c08a0e5aaf /src/nvim/rbuffer.c
parentae9cb1fe07d34289ebe4a929bfca8a07aab85b9f (diff)
parentbfc823f972f82d71848fbf66d247557904f873c5 (diff)
downloadrneovim-e9061117a5b8f195c3f26a5cb94e18ddd7752d86.tar.gz
rneovim-e9061117a5b8f195c3f26a5cb94e18ddd7752d86.tar.bz2
rneovim-e9061117a5b8f195c3f26a5cb94e18ddd7752d86.zip
Merge #4646 from oni-link/fix.issue.4569.3
Fix for missing output (#4569, ...)
Diffstat (limited to 'src/nvim/rbuffer.c')
-rw-r--r--src/nvim/rbuffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/rbuffer.c b/src/nvim/rbuffer.c
index d4cc8c0d5d..a2cc432eca 100644
--- a/src/nvim/rbuffer.c
+++ b/src/nvim/rbuffer.c
@@ -15,7 +15,7 @@ RBuffer *rbuffer_new(size_t capacity)
FUNC_ATTR_WARN_UNUSED_RESULT FUNC_ATTR_NONNULL_RET
{
if (!capacity) {
- capacity = 0xffff;
+ capacity = 0x10000;
}
RBuffer *rv = xmalloc(sizeof(RBuffer) + capacity);