aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/CellBuffer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/CellBuffer.cxx')
-rw-r--r--src/CellBuffer.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CellBuffer.cxx b/src/CellBuffer.cxx
index 56dd27ea0..56aa15215 100644
--- a/src/CellBuffer.cxx
+++ b/src/CellBuffer.cxx
@@ -628,7 +628,7 @@ void CellBuffer::RoomFor(int insertionLength) {
if (gaplen <= insertionLength) {
//Platform::DebugPrintf("need room %d %d\n", gaplen, insertionLength);
GapTo(length);
- if (growSize * 4 < size)
+ if (growSize * 6 < size)
growSize *= 2;
int newSize = size + insertionLength + growSize;
//Platform::DebugPrintf("moved gap %d\n", newSize);