changeset 8273 | 1d95cbda404b |
parent 8214 | 971f861d5543 |
child 8374 | 7a1b6c89cb89 |
--- a/src/fileio.cpp Sun Jan 13 17:37:17 2008 +0000 +++ b/src/fileio.cpp Sun Jan 13 17:45:29 2008 +0000 @@ -646,7 +646,14 @@ _searchpaths[SP_PERSONAL_DIR] = strdup(tmp); #endif + +#if defined(WITH_SHARED_DIR) + snprintf(tmp, MAX_PATH, "%s", SHARED_DIR); + AppendPathSeparator(tmp, MAX_PATH); + _searchpaths[SP_SHARED_DIR] = strdup(tmp); +#else _searchpaths[SP_SHARED_DIR] = NULL; +#endif #if defined(__MORPHOS__) || defined(__AMIGA__) _searchpaths[SP_WORKING_DIR] = NULL;