summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorFabien Costantini <fabien@onepost.net>2008-12-02 13:19:13 +0000
committerFabien Costantini <fabien@onepost.net>2008-12-02 13:19:13 +0000
commit9225a43f9fe84f94d332e0f30d19a11fc576c796 (patch)
treea58fa9e4f72c3bc07621b5282d5998175537df5f /test
parent0f13d6eff2693436fb05dea6037d83ecbc2798a5 (diff)
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
Diffstat (limited to 'test')
-rw-r--r--test/demo.cxx2
-rw-r--r--test/help.cxx2
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]);