diff --git a/src/edit.c b/src/edit.c index a2a004c12..3fa95cdb0 100644 --- a/src/edit.c +++ b/src/edit.c @@ -3022,7 +3022,7 @@ get_last_insert_save(void) return NULL; if (insert.length > 0 && s[insert.length - 1] == ESC) // remove trailing ESC - s[insert.length - 1] = NUL; + s[--insert.length] = NUL; return s; } diff --git a/src/version.c b/src/version.c index ec6acb610..75cbd635d 100644 --- a/src/version.c +++ b/src/version.c @@ -704,6 +704,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1263, /**/ 1262, /**/