diff options
author | jkh <jkh@FreeBSD.org> | 1999-12-19 22:28:41 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1999-12-19 22:28:41 +0000 |
commit | 1d70a13d4914c4cd937f8220121d27068e230d5e (patch) | |
tree | a326d3a4936edb79a5271f043cb185eed9c9a8ee /usr.sbin | |
parent | c0e3cdc19dadb776f581197bade7f59b75097a5e (diff) | |
download | FreeBSD-src-1d70a13d4914c4cd937f8220121d27068e230d5e.zip FreeBSD-src-1d70a13d4914c4cd937f8220121d27068e230d5e.tar.gz |
Whoops, I broke the doc browser (not that anyone would notice since nobody
READS the docs, but anyway.. :). Fix it.
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/sysinstall/doc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/sysinstall/doc.c b/usr.sbin/sysinstall/doc.c index 5a873d1..19cd4a8 100644 --- a/usr.sbin/sysinstall/doc.c +++ b/usr.sbin/sysinstall/doc.c @@ -96,17 +96,17 @@ docShowDocument(dialogMenuItem *self) "properly set in the Options editor.", browser); return DITEM_FAILURE; } - if (!strcmp(str, "Home")) + if (!strstr(str, "Home")) where = "http://www.freebsd.org"; - else if (!strcmp(str, "Other")) + else if (!strstr(str, "Other")) where = msgGetInput("http://www.freebsd.org", "Please enter the URL of the location you wish to visit."); - else if (!strcmp(str, "FAQ")) { + else if (!strstr(str, "FAQ")) { 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")) { + else if (!strstr(str, "Handbook")) { strcpy(target, "/usr/share/doc/handbook/index.html"); if (!file_readable(target)) strcpy(target, "http://www.freebsd.org/handbook"); |