w3m

Unnamed repository; edit this file to name it for gitweb.
git clone https://logand.com/git/w3m.git/
Log | Files | Refs | README

commit dddec996b71cd2bf550f31e429a1349100561737
parent ebfd6ad43d9177f8c52b9c69d51fc4539dac7234
Author: inu <inu>
Date:   Fri,  7 Apr 2006 13:35:35 +0000

Use Strnew_charp(" ") instead of the wrong Strnew(" ").

Diffstat:
MChangeLog | 6++++++
MStr.h | 2+-
Mtable.c | 2+-
3 files changed, 8 insertions(+), 2 deletions(-)

diff --git 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 diff --git a/Str.h b/Str.h @@ -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 @@ -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);