diff options
author | Tatsuya Kinoshita <tats@debian.org> | 2016-12-20 11:20:01 +0000 |
---|---|---|
committer | Tatsuya Kinoshita <tats@debian.org> | 2016-12-20 11:20:01 +0000 |
commit | 971b0c1cf9ca8785a38f11a72795358d67906aa1 (patch) | |
tree | 5e2581cf315179bd1c8061d363ba12e70822c399 | |
parent | Update ChangeLog (diff) | |
download | w3m-971b0c1cf9ca8785a38f11a72795358d67906aa1.tar.gz w3m-971b0c1cf9ca8785a38f11a72795358d67906aa1.zip |
Revert "Preserve one byte for end of string character in form_update_line()"
This reverts commit a4152aaaea5cb51c9018880a1295e498c38889bf.
-rw-r--r-- | form.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -319,7 +319,7 @@ form_update_line(Line *line, char **str, int spos, int epos, int width, } pos += width - w; - len = line->len + pos + spos - epos + 1; + len = line->len + pos + spos - epos; buf = New_N(char, len); prop = New_N(Lineprop, len); bcopy((void *)line->lineBuf, (void *)buf, spos * sizeof(char)); |