aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2003-01-20 15:22:54 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2003-01-20 15:22:54 +0000
commit2f7904260caeda2032ed93d6d887bd45ef7d4b2d (patch)
treebfbf998bd1f7a1c6f7271e387c24f223ba60fbce
parent[w3m-dev 03655] Re: file.c:image_source when undef USE_IMAGE (diff)
downloadw3m-2f7904260caeda2032ed93d6d887bd45ef7d4b2d.tar.gz
w3m-2f7904260caeda2032ed93d6d887bd45ef7d4b2d.zip
[w3m-dev 03657] fputs -> Strfputs
* form.c (form_fputs_decode): use Strfputs() From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
-rw-r--r--ChangeLog7
-rw-r--r--form.c5
2 files changed, 9 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 83af0cd..2d4e801 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2003-01-21 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
+
+ * [w3m-dev 03657] fputs -> Strfputs
+ * form.c (form_fputs_decode): use Strfputs()
+
2003-01-19 Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 03655] Re: file.c:image_source when undef USE_IMAGE
@@ -6609,4 +6614,4 @@ a * [w3m-dev 03276] compile error on EWS4800
* release-0-2-1
* import w3m-0.2.1
-$Id: ChangeLog,v 1.692 2003/01/19 09:04:32 ukai Exp $
+$Id: ChangeLog,v 1.693 2003/01/20 15:22:54 ukai Exp $
diff --git a/form.c b/form.c
index 332330e..d04f732 100644
--- a/form.c
+++ b/form.c
@@ -1,4 +1,4 @@
-/* $Id: form.c,v 1.28 2003/01/15 16:11:43 ukai Exp $ */
+/* $Id: form.c,v 1.29 2003/01/20 15:22:59 ukai Exp $ */
/*
* HTML forms
*/
@@ -447,7 +447,8 @@ form_fputs_decode(Str s, FILE * f)
break;
}
}
- fputs(conv_str(z, InnerCode, DisplayCode)->ptr, f);
+ z = conv_str(z, InnerCode, DisplayCode);
+ Strfputs(z, f);
}