aboutsummaryrefslogtreecommitdiffstats
path: root/form.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--form.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/form.c b/form.c
index fdad786..34dc235 100644
--- a/form.c
+++ b/form.c
@@ -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++;