$NetBSD: patch-ab,v 1.2 2000/06/22 08:18:08 itohy Exp $ --- w_help.c.orig Wed Jan 19 10:36:32 2000 +++ w_help.c Thu Jun 22 00:49:54 2000 @@ -44,13 +44,13 @@ int pid; /* first check if at least the index file is installed */ - sprintf(filename, "%s/html/index.html", XFIGLIBDIR); + sprintf(filename, "%s/html/index.html", XFIGDOCDIR); #ifdef I18N if (appres.international && getenv("LANG")) { - /* check localized file ($XFIGLIBDIR/html/$LANG/index.html) first */ - sprintf(filename, "%s/html/%s/index.html", XFIGLIBDIR, getenv("LANG")); + /* check localized file ($XFIGDOCDIR/html/$LANG/index.html) first */ + sprintf(filename, "%s/html/%s/index.html", XFIGDOCDIR, getenv("LANG")); if (!check_docfile(filename)) - sprintf(filename, "%s/html/index.html", XFIGLIBDIR); + sprintf(filename, "%s/html/index.html", XFIGDOCDIR); } #endif if (!check_docfile(filename)) @@ -64,7 +64,7 @@ XtPointer closure; XtPointer call_data; { - sprintf(filename,"%s/xfig-howto.pdf",XFIGLIBDIR); + sprintf(filename,"%s/xfig-howto.pdf",XFIGDOCDIR); launch_viewer(filename,"Launching PDF viewer for How-to Tutorial", appres.pdf_viewer); } @@ -74,7 +74,7 @@ XtPointer closure; XtPointer call_data; { - sprintf(filename,"%s/xfig.html",XFIGLIBDIR); + sprintf(filename,"%s/xfig.html",XFIGDOCDIR); launch_viewer(filename,"Launching Web browser for man pages", appres.browser); }