diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-12-02 16:26:08 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-12-02 16:26:08 +0000 |
commit | ba4557fc9d049b27fce357301c72433139f2a44a (patch) | |
tree | 341367a1626bfdd732a9a569c2f95edeab3b4406 /file.c | |
parent | [w3m-dev 02604] (diff) | |
download | w3m-ba4557fc9d049b27fce357301c72433139f2a44a.tar.gz w3m-ba4557fc9d049b27fce357301c72433139f2a44a.zip |
[w3m-dev 02605]
From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
Diffstat (limited to '')
-rw-r--r-- | file.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 <sys/types.h> #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)) |