From 9225a43f9fe84f94d332e0f30d19a11fc576c796 Mon Sep 17 00:00:00 2001 From: Fabien Costantini Date: Tue, 2 Dec 2008 13:19:13 +0000 Subject: [PATCH] Corrected new documentation local (build) path so that index.html can 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 --- test/demo.cxx | 2 +- test/help.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/demo.cxx b/test/demo.cxx index 908e7349e..c8df2ed7f 100644 --- a/test/demo.cxx +++ b/test/demo.cxx @@ -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 diff --git a/test/help.cxx b/test/help.cxx index ba0b97c21..8ea074c54 100644 --- a/test/help.cxx +++ b/test/help.cxx @@ -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]);