about summary refs log tree commit diff stats
path: root/src/LYShowInfo.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>1998-11-21 16:40:42 -0500
committerThomas E. Dickey <dickey@invisible-island.net>1998-11-21 16:40:42 -0500
commitd4a8ec3c8922a91d418bb9bc130c256c4e00d030 (patch)
treecfbc95b0f99be65ea5ffa312c9055552db804dfc /src/LYShowInfo.c
parent6d7ee0488b037f002a9fec0d060cc9842d5f8acd (diff)
downloadlynx-snapshots-d4a8ec3c8922a91d418bb9bc130c256c4e00d030.tar.gz
snapshot of project "lynx", label v2-8-2dev_5
Diffstat (limited to 'src/LYShowInfo.c')
-rw-r--r--src/LYShowInfo.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/LYShowInfo.c b/src/LYShowInfo.c
index decf40a5..3d3d9c42 100644
--- a/src/LYShowInfo.c
+++ b/src/LYShowInfo.c
@@ -49,7 +49,7 @@ PRIVATE char *lynx_compile_opts NOARGS
 	BeginInternalPage (fp0, CONFIG_DEF_TITLE, NULL);
 	fprintf(fp0, "<pre>\n");
 
-	fprintf(fp0, "%s <a href=\"%s\">%s lynx.cfg</a> %s\n\n",
+	fprintf(fp0, "%s %s<a href=\"%s\"> lynx.cfg</a> %s\n\n",
 	    SEE_ALSO,
 	    YOUR_SEGMENT,
 	    lynx_cfg_infopage(),
@@ -85,7 +85,6 @@ PUBLIC int showinfo ARGS4(
 	char *, 	owner_address)
 {
     static char tempfile[LY_MAXPATH];
-    static char *info_url;
     int url_type;
     FILE *fp0;
     char *Address = NULL, *Title = NULL;
@@ -104,12 +103,10 @@ PUBLIC int showinfo ARGS4(
 	return(-1);
     }
 
-    LYLocalFileToURL(&info_url, tempfile);
-
     /*
      *	Point the address pointer at this Url
      */
-    StrAllocCopy(newdoc->address, info_url);
+    LYLocalFileToURL(&newdoc->address, tempfile);
 
     if (nlinks > 0 && links[doc->link].lname != NULL &&
 	(url_type = is_url(links[doc->link].lname)) != 0 &&