[Nautilus-list] Patch for gnome-info2html2 to respect INFOPATH
- From: Philip Langdale <philipl mail utexas edu>
- To: nautilus-list lists eazel com
- Subject: [Nautilus-list] Patch for gnome-info2html2 to respect INFOPATH
- Date: Sun, 19 Aug 2001 14:57:10 -0500
This one line patch fixes gnome-info2html2 so that it will actually
append search directories from INFOPATH.
Also, I'm not sure why but gnome-info2html2 does not put working
links in when it displays a "dir" file, unlike gnome-info2html which
does.
--phil
Index: components/help/converters/gnome-info2html2/main.c
===================================================================
RCS file: /cvs/gnome/nautilus/components/help/converters/gnome-info2html2/main.c,v
retrieving revision 1.22
diff -u -r1.22 main.c
--- components/help/converters/gnome-info2html2/main.c 2001/04/29 21:13:26 1.22
+++ components/help/converters/gnome-info2html2/main.c 2001/08/19 19:55:48
@@ -89,7 +89,7 @@
* necessary because we may not have an 'INFOPATH' set */
ndirs = 2;
if(infopath)
- for(ndirs = 2, ctmp = strtok((char *)args[0], ":"); ndirs < 64 && ctmp; ndirs++, ctmp = strtok(NULL, ":"))
+ for(ndirs = 2, ctmp = strtok(infopath, ":"); ndirs < 64 && ctmp; ndirs++, ctmp = strtok(NULL, ":"))
dirs[ndirs] = strdup(ctmp);
for(i = 0; i < ndirs; i++)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]