diff -r 2a51f8925eeb -r 9acde6fcc645 fileio.c --- a/fileio.c Sun Jul 24 15:56:31 2005 +0000 +++ b/fileio.c Sun Jul 24 20:47:42 2005 +0000 @@ -165,6 +165,10 @@ *s = tolower(*s); f = fopen(buf, "rb"); } + + if (f == NULL) + sprintf(buf, "%s%s", _path.data_dir, filename); //makes it print the primary datadir path instead of the secundary one + #endif } #endif