fix delcharnext string length - sob - simple output bar
(HTM) git clone git://git.codemadness.org/sob
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit d89e9df43c6b3966fc438d925680ac8ff25f6e2f
(DIR) parent 44fdd353a9864ddb98cf5ef72f57936c42805038
(HTM) 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(-)
---
(DIR) 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();
}