aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--form.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/form.c b/form.c
index 71c19d0..de7a4d9 100644
--- a/form.c
+++ b/form.c
@@ -461,9 +461,11 @@ formUpdateBuffer(Anchor *a, Buffer *buf, FormItemList *form)
}
else
#endif /* MENU_SELECT */
+ {
if (!form->value)
break;
p = form->value->ptr;
+ }
l = buf->currentLine;
if (!l)
break;