aboutsummaryrefslogtreecommitdiffstats
path: root/form.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--form.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/form.c b/form.c
index 20b7310..1e3aaad 100644
--- a/form.c
+++ b/form.c
@@ -459,6 +459,8 @@ formUpdateBuffer(Anchor *a, Buffer *buf, FormItemList *form)
}
else
#endif /* MENU_SELECT */
+ if (!form->value)
+ break;
p = form->value->ptr;
l = buf->currentLine;
if (!l)