Skip to content

Commit

Permalink
Corrected new documentation local (build) path so that index.html can…
Browse files Browse the repository at this point in the history
… be found in test programs when no env variable is set. Added svn:ignore filters to test and lib subdirs.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6536 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
  • Loading branch information
fab672000 committed Dec 2, 2008
1 parent 0f13d6e commit 9225a43
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/demo.cxx
Expand Up @@ -364,7 +364,7 @@ int load_the_menu(const char* fname)
}

int main(int argc, char **argv) {
putenv((char *)"FLTK_DOCDIR=../documentation");
putenv((char *)"FLTK_DOCDIR=../documentation/html");
char buf[256];
strcpy(buf, argv[0]);
#if ( defined _MSC_VER || defined __MWERKS__ ) && defined _DEBUG
Expand Down
2 changes: 1 addition & 1 deletion test/help.cxx
Expand Up @@ -50,7 +50,7 @@ main(int argc, // I - Number of command-line arguments
help = new Fl_Help_Dialog;

if (argc < 2)
help->load("../documentation/index.html");
help->load("../documentation/html/index.html");
else
help->load(argv[1]);

Expand Down

0 comments on commit 9225a43

Please sign in to comment.