aboutsummaryrefslogtreecommitdiffstats
path: root/func.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2001-12-02 16:26:08 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2001-12-02 16:26:08 +0000
commitba4557fc9d049b27fce357301c72433139f2a44a (patch)
tree341367a1626bfdd732a9a569c2f95edeab3b4406 /func.c
parent[w3m-dev 02604] (diff)
downloadw3m-ba4557fc9d049b27fce357301c72433139f2a44a.tar.gz
w3m-ba4557fc9d049b27fce357301c72433139f2a44a.zip
[w3m-dev 02605]
From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
Diffstat (limited to '')
-rw-r--r--func.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/func.c b/func.c
index 4150982..da85327 100644
--- a/func.c
+++ b/func.c
@@ -1,4 +1,4 @@
-/* $Id: func.c,v 1.4 2001/11/24 02:01:26 ukai Exp $ */
+/* $Id: func.c,v 1.5 2001/12/02 16:26:08 ukai Exp $ */
/*
* w3m func.c
*/
@@ -248,7 +248,7 @@ addKeyList(KeyList *list, int key, char *data)
if (data == NULL || *data == '\0')
data = NULL;
else
- data = allocStr(data, 0);
+ data = allocStr(data, -1);
item = searchKeyList(list, key);
if (item == NULL) {
if (data == NULL)