mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 10:19:26 +00:00
Update for new doc paths.
Submitted by: Martin Kammerhofer <mkamm@gmx.net> PR: 15020
This commit is contained in:
parent
85c981cc3f
commit
2daa303614
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=53524
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user