diff options
Diffstat (limited to 'form.c')
-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 (newline) { + if (p < q && newline) { if (!FoldTextarea) { while (*p && *p != '\r' && *p != '\n') p++; |