about summary refs log tree commit diff stats
path: root/shell/gap-buffer.mu
diff options
context:
space:
mode:
Diffstat (limited to 'shell/gap-buffer.mu')
-rw-r--r--shell/gap-buffer.mu4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/gap-buffer.mu b/shell/gap-buffer.mu
index fe6569d9..8dada84a 100644
--- a/shell/gap-buffer.mu
+++ b/shell/gap-buffer.mu
@@ -35,8 +35,8 @@ fn gap-buffer-capacity _gap: (addr gap-buffer) -> _/ecx: int {
 
 # just for tests
 fn initialize-gap-buffer-with self: (addr gap-buffer), s: (addr array byte) {
-  initialize-gap-buffer self, 0x10/capacity
-  var stream-storage: (stream byte 0x10/capacity)
+  initialize-gap-buffer self, 0x40/capacity
+  var stream-storage: (stream byte 0x40/capacity)
   var stream/ecx: (addr stream byte) <- address stream-storage
   write stream, s
   {