shithub: eesp

Download patch

ref: f664f9d3a8d305e088f259a23cb6e86e664a7b36
parent: c70b508504537491dbee49e5c5e1a5938998ac83
author: sirjofri <sirjofri@sirjofri.de>
date: Mon Jul 22 12:08:44 EDT 2024

fixes last character snarf/paste bug

--- a/libgenenter.c
+++ b/libgenenter.c
@@ -48,6 +48,8 @@
 		if(*sp < 0 && i >= s)
 			*sp = i;
 	}
+	if (*ep < 0)
+		*ep = len;
 }
 
 static int