Commit eba7f423 authored by Tatsuya Kinoshita's avatar Tatsuya Kinoshita

Revert "Prevent overflow beyond the end of string in form_update_line()"

This reverts commit e0efc127.
parent 849d1dd2
......@@ -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++;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment