aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ChangeLog8
-rw-r--r--Str.h4
-rw-r--r--table.c4
3 files changed, 11 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 2107268..383aa2a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-04-07 Dai Sato <satodai@w3m.jp>
+
+ * [w3m-dev-en 01060] Some patches
+ * Str.h, table.c: Use Strnew_charp() instead of the wrong Strnew().
+ * Fixes SF bug #895351 Strnew called with argument in table.c.
+
2006-02-10 Dai Sato <satodai@w3m.jp>
* http://dog.w3m.jp/bbs/spool/until200602.html#20060210153135@keijiwan
@@ -8653,4 +8659,4 @@ a * [w3m-dev 03276] compile error on EWS4800
* release-0-2-1
* import w3m-0.2.1
-$Id: ChangeLog,v 1.950 2006/04/07 13:21:11 inu Exp $
+$Id: ChangeLog,v 1.951 2006/04/07 13:35:35 inu Exp $
diff --git a/Str.h b/Str.h
index af0b2de..f345c74 100644
--- a/Str.h
+++ b/Str.h
@@ -1,4 +1,4 @@
-/* $Id: Str.h,v 1.5 2003/01/20 15:30:19 ukai Exp $ */
+/* $Id: Str.h,v 1.6 2006/04/07 13:35:35 inu Exp $ */
/*
* String manipulation library for Boehm GC
*
@@ -28,7 +28,7 @@ typedef struct _Str {
int area_size;
} *Str;
-Str Strnew();
+Str Strnew(void);
Str Strnew_size(int);
Str Strnew_charp(char *);
Str Strnew_charp_n(char *, int);
diff --git a/table.c b/table.c
index 26edd28..387ac60 100644
--- a/table.c
+++ b/table.c
@@ -1,4 +1,4 @@
-/* $Id: table.c,v 1.51 2006/04/07 13:21:12 inu Exp $ */
+/* $Id: table.c,v 1.52 2006/04/07 13:35:35 inu Exp $ */
/*
* HTML table
*/
@@ -1984,7 +1984,7 @@ renderTable(struct table *t, int max_width, struct html_feed_environ *h_env)
break;
}
if (t->total_height == 0) {
- renderbuf = Strnew(" ");
+ renderbuf = Strnew_charp(" ");
t->total_height++;
t->total_width = 1;
push_render_image(renderbuf, 1, t->total_width, h_env);