about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-03-23 13:45:28 -0400
committerJune McEnroe <june@causal.agency>2020-03-23 13:45:28 -0400
commit7ea1a416a1114085b272537b2b1b0f0d1fd3fd42 (patch)
tree45c1afe2b8713d7649bdc35968d9ff8e081c4b26
parentAssume worst case for unknown user and host in splitMessage (diff)
downloadcatgirl-7ea1a416a1114085b272537b2b1b0f0d1fd3fd42.tar.gz
catgirl-7ea1a416a1114085b272537b2b1b0f0d1fd3fd42.zip
Bump edit buffer cap to 1024
With message splitting it's reasonable to allow this to be larger.
Diffstat (limited to '')
-rw-r--r--edit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/edit.c b/edit.c
index a0ec333..720d7fd 100644
--- a/edit.c
+++ b/edit.c
@@ -24,7 +24,7 @@
 
 #include "chat.h"
 
-enum { Cap = 512 };
+enum { Cap = 1024 };
 static wchar_t buf[Cap];
 static size_t len;
 static size_t pos;