From 88aaa652d8ee621e58d39b05a4f0752b96b5d694 Mon Sep 17 00:00:00 2001 From: Dai Sato Date: Fri, 7 Apr 2006 13:35:35 +0000 Subject: Use Strnew_charp(" ") instead of the wrong Strnew(" "). --- ChangeLog | 8 +++++++- Str.h | 4 ++-- table.c | 4 ++-- 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 + + * [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 * 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); -- cgit v1.2.3