diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-12-27 17:37:49 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-12-27 17:37:49 +0000 |
commit | 2e92ab8f6fe4714ef572e2f205b8e3bbeaa8551a (patch) | |
tree | df1c80274d62481e6254607e55c06b98697648e1 /form.c | |
parent | [w3m-dev 02757] (diff) | |
download | w3m-2e92ab8f6fe4714ef572e2f205b8e3bbeaa8551a.tar.gz w3m-2e92ab8f6fe4714ef572e2f205b8e3bbeaa8551a.zip |
[w3m-dev 02759] fold textarea
From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to 'form.c')
-rw-r--r-- | form.c | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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') |