diff options
author | Tatsuya Kinoshita <tats@debian.org> | 2016-12-17 15:20:06 +0000 |
---|---|---|
committer | Tatsuya Kinoshita <tats@debian.org> | 2016-12-17 15:20:06 +0000 |
commit | eba7f423fc8df852ed6f78c7f181213786a0ffed (patch) | |
tree | a328546230d648055db7e18dcd0107f3100167da | |
parent | Update ChangeLog (diff) | |
download | w3m-eba7f423fc8df852ed6f78c7f181213786a0ffed.tar.gz w3m-eba7f423fc8df852ed6f78c7f181213786a0ffed.zip |
Revert "Prevent overflow beyond the end of string in form_update_line()"
This reverts commit e0efc127ff20cbeb931847af1c9b353056340fbd.
Diffstat (limited to '')
-rw-r--r-- | form.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -388,7 +388,7 @@ form_update_line(Line *line, char **str, int spos, int epos, int width, prop[pos] = effect | PC_ASCII; pos++; } - if (p < q && newline) { + if (newline) { if (!FoldTextarea) { while (*p && *p != '\r' && *p != '\n') p++; |