Update for new doc paths.

Submitted by:	Martin Kammerhofer <mkamm@gmx.net>
PR:		15020
This commit is contained in:
Jordan K. Hubbard 1999-11-21 22:04:13 +00:00
parent 85c981cc3f
commit 2daa303614
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=53524
2 changed files with 4 additions and 4 deletions

View File

@ -101,13 +101,13 @@ docShowDocument(dialogMenuItem *self)
else if (!strcmp(str, "Other"))
where = msgGetInput("http://www.freebsd.org", "Please enter the URL of the location you wish to visit.");
else if (!strcmp(str, "FAQ")) {
strcpy(target, "/usr/share/doc/FAQ/FAQ.html");
strcpy(target, "/usr/share/doc/faq/index.html");
if (!file_readable(target))
strcpy(target, "http://www.freebsd.org/FAQ");
where = target;
}
else if (!strcmp(str, "Handbook")) {
strcpy(target, "/usr/share/doc/handbook/handbook.html");
strcpy(target, "/usr/share/doc/handbook/index.html");
if (!file_readable(target))
strcpy(target, "http://www.freebsd.org/handbook");
where = target;

View File

@ -101,13 +101,13 @@ docShowDocument(dialogMenuItem *self)
else if (!strcmp(str, "Other"))
where = msgGetInput("http://www.freebsd.org", "Please enter the URL of the location you wish to visit.");
else if (!strcmp(str, "FAQ")) {
strcpy(target, "/usr/share/doc/FAQ/FAQ.html");
strcpy(target, "/usr/share/doc/faq/index.html");
if (!file_readable(target))
strcpy(target, "http://www.freebsd.org/FAQ");
where = target;
}
else if (!strcmp(str, "Handbook")) {
strcpy(target, "/usr/share/doc/handbook/handbook.html");
strcpy(target, "/usr/share/doc/handbook/index.html");
if (!file_readable(target))
strcpy(target, "http://www.freebsd.org/handbook");
where = target;