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 /main.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-- | main.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1,4 +1,4 @@ -/* $Id: main.c,v 1.30 2001/11/30 18:06:28 ukai Exp $ */ +/* $Id: main.c,v 1.31 2001/12/02 16:26:08 ukai Exp $ */ #define MAINPROGRAM #include "fm.h" #include <signal.h> @@ -2448,7 +2448,7 @@ gotoLabel(char *label) copyBuffer(buf, Currentbuf); for (i = 0; i < MAX_LB; i++) buf->linkBuffer[i] = NULL; - buf->currentURL.label = allocStr(label, 0); + buf->currentURL.label = allocStr(label, -1); pushHashHist(URLHist, parsedURL2Str(&buf->currentURL)->ptr); (*buf->clone)++; pushBuffer(buf); @@ -4619,17 +4619,17 @@ searchKeyData(void) KeyListItem *item; if (CurrentKeyData != NULL && *CurrentKeyData != '\0') - return allocStr(CurrentKeyData, 0); + return allocStr(CurrentKeyData, -1); #ifdef USE_MENU if (CurrentMenuData != NULL && *CurrentMenuData != '\0') - return allocStr(CurrentMenuData, 0); + return allocStr(CurrentMenuData, -1); #endif if (CurrentKey < 0) return NULL; item = searchKeyList(&w3mKeyList, CurrentKey); if (item == NULL || item->data == NULL || *item->data == '\0') return NULL; - return allocStr(item->data, 0); + return allocStr(item->data, -1); } static int |