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: [EMAIL PROTECTED]



_______________________________________________
Lynx-dev mailing list
[EMAIL PROTECTED]
http://lists.nongnu.org/mailman/listinfo/lynx-dev

Reply via email to