From 2e92ab8f6fe4714ef572e2f205b8e3bbeaa8551a Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Thu, 27 Dec 2001 17:37:49 +0000 Subject: [w3m-dev 02759] fold textarea From: Hironori Sakamoto --- form.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'form.c') diff --git a/form.c b/form.c index d4a5556..825189d 100644 --- a/form.c +++ b/form.c @@ -1,4 +1,4 @@ -/* $Id: form.c,v 1.8 2001/12/26 18:29:33 ukai Exp $ */ +/* $Id: form.c,v 1.9 2001/12/27 17:37:49 ukai Exp $ */ /* * HTML forms */ @@ -358,8 +358,10 @@ formUpdateBuffer(Anchor *a, Buffer *buf, FormItemList *form) } } if (rows > 1) { - while (p[j] && p[j] != '\r' && p[j] != '\n') - j++; + if (! FoldTextarea) { + while (p[j] && p[j] != '\r' && p[j] != '\n') + j++; + } if (p[j] == '\r') j++; if (p[j] == '\n') -- cgit v1.2.3