commit d89e9df43c6b3966fc438d925680ac8ff25f6e2f parent 44fdd353a9864ddb98cf5ef72f57936c42805038 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sat, 4 Oct 2014 12:36:27 +0000 fix delcharnext string length Diffstat:
M | sob.c | | | 1 | + |
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/sob.c b/sob.c @@ -346,6 +346,7 @@ line_delcharnext(void) line.bytesiz - line.bytepos - siz); line.bytesiz -= siz; + line.utflen--; line.line[line.bytesiz] = '\0'; line_draw(); }