changeset 2188 | 9acde6fcc645 |
parent 2186 | 461a2aff3486 |
child 2548 | 97ada3bd2702 |
--- 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