---
index 769ba2e..4f6330e 100644
@@ -651,7 +651,8 @@ void ed_setup(register Edit_t *ep, int fd, int reedit)
{
int skip=0;
ep->e_crlf = 0;
- *pp++ = c;
+ if (pp < ppmax)
+ *pp++ = c;
for(n=1; c = *last++; n++)
{
if(pp < ppmax)
index 795777d..145066d 100644
@@ -59,7 +59,7 @@
#endif /* SHOPT_MULTIBYTE */
#define TABSIZE 8
-#define PRSIZE 160
+#define PRSIZE 256
#define MAXLINE 1024 /* longest edit line permitted */
typedef struct _edit_pos