[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Lynx-dev] LYK_HELP problem [PATCH]
From: |
Doug Kaufman |
Subject: |
[Lynx-dev] LYK_HELP problem [PATCH] |
Date: |
Wed, 2 Jun 2004 23:22:30 -0700 (PDT) |
I just noticed that the helpfile works when the URL is of the form
"file://localhost/...", but not when it is of the form "file:///...".
This patch should be close to the right fix for the problem.
Doug
--- lynx2.8.6dev.4/lynx2-8-6/src/LYMainLoop.c.ori 2004-05-23
15:59:56.000000000 -0800
+++ lynx2.8.6dev.4/lynx2-8-6/src/LYMainLoop.c 2004-06-02 23:12:34.000000000
-0800
@@ -2989,6 +2989,9 @@
/*
* Set the filename.
*/
+ if (*cshelpfile) {
+ LYEnsureAbsoluteURL((char **)cshelpfile, *cshelpfile, FALSE);
+ }
set_address(&newdoc, *cshelpfile);
/*
* Make a name for this help file.
--
Doug Kaufman
Internet: address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Lynx-dev] LYK_HELP problem [PATCH],
Doug Kaufman <=