From ba4557fc9d049b27fce357301c72433139f2a44a Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Sun, 2 Dec 2001 16:26:08 +0000 Subject: [w3m-dev 02605] From: Kiyokazu SUTO --- file.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'file.c') diff --git a/file.c b/file.c index 6a6d379..74add5e 100644 --- a/file.c +++ b/file.c @@ -1,4 +1,4 @@ -/* $Id: file.c,v 1.24 2001/12/02 14:27:11 ukai Exp $ */ +/* $Id: file.c,v 1.25 2001/12/02 16:26:08 ukai Exp $ */ #include "fm.h" #include #include "myctype.h" @@ -1675,7 +1675,7 @@ static void push_tag(struct readbuffer *obuf, char *cmdname, int cmd) { obuf->tag_stack[obuf->tag_sp] = New(struct cmdtable); - obuf->tag_stack[obuf->tag_sp]->cmdname = allocStr(cmdname, 0); + obuf->tag_stack[obuf->tag_sp]->cmdname = allocStr(cmdname, -1); obuf->tag_stack[obuf->tag_sp]->cmd = cmd; obuf->tag_sp++; if (obuf->tag_sp >= TAG_STACK_SIZE || obuf->flag & (RB_SPECIAL & ~RB_NOBR)) -- cgit v1.2.3