[w3m-dev 03660] Re: fputs -> Strfputs

* Str.h (Strncmp_charp): paren
	(Strncasecmp_charp): ditto
	(Strinsert): ditto
	(Strshrinkfirst): ditto
* display.c (disp_err_message): added
* file.c (loadGeneralFile): don't put function in macro arg
	(saveBuffer): ditto
* frame.c (createFrameFile): ditto
* proto.h (disp_err_message): macro->function
* table.c (pushdata): if data is NULL, use ""
	(suspend_or_pushdata): if line is NULL, use ""
* textlist.h (pushText): don't use (s) twice in a macro
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
This commit is contained in:
Fumitoshi UKAI
2003-01-20 15:30:18 +00:00
parent 136d8b8115
commit 18eebc6488
8 changed files with 44 additions and 21 deletions

View File

@@ -1,4 +1,4 @@
/* $Id: frame.c,v 1.29 2003/01/15 16:11:43 ukai Exp $ */
/* $Id: frame.c,v 1.30 2003/01/20 15:30:20 ukai Exp $ */
#include "fm.h"
#include "parsetagx.h"
#include "myctype.h"
@@ -805,9 +805,8 @@ createFrameFile(struct frameset *f, FILE * f1, Buffer *current, int level,
parsedtag_set_value(tag, ATTR_TARGET, d_target);
}
if (parsedtag_need_reconstruct(tag))
Strfputs(parsedtag2str(tag), f1);
else
Strfputs(tok, f1);
tok = parsedtag2str(tag);
Strfputs(tok, f1);
}
else {
if (pre_mode & (RB_PLAIN | RB_INTXTA))