src/fileio.cpp
changeset 8769 ee288fa819f6
parent 8710 52015340050c
child 8870 461ed7760525
equal deleted inserted replaced
8768:a45175c17e5b 8769:ee288fa819f6
   644 	snprintf(tmp, MAX_PATH, "%s" PATHSEP "%s", homedir, PERSONAL_DIR);
   644 	snprintf(tmp, MAX_PATH, "%s" PATHSEP "%s", homedir, PERSONAL_DIR);
   645 	AppendPathSeparator(tmp, MAX_PATH);
   645 	AppendPathSeparator(tmp, MAX_PATH);
   646 
   646 
   647 	_searchpaths[SP_PERSONAL_DIR] = strdup(tmp);
   647 	_searchpaths[SP_PERSONAL_DIR] = strdup(tmp);
   648 #endif
   648 #endif
       
   649 
       
   650 #if defined(WITH_SHARED_DIR)
       
   651 	snprintf(tmp, MAX_PATH, "%s", SHARED_DIR);
       
   652 	AppendPathSeparator(tmp, MAX_PATH);
       
   653 	_searchpaths[SP_SHARED_DIR] = strdup(tmp);
       
   654 #else
   649 	_searchpaths[SP_SHARED_DIR] = NULL;
   655 	_searchpaths[SP_SHARED_DIR] = NULL;
       
   656 #endif
   650 
   657 
   651 #if defined(__MORPHOS__) || defined(__AMIGA__)
   658 #if defined(__MORPHOS__) || defined(__AMIGA__)
   652 	_searchpaths[SP_WORKING_DIR] = NULL;
   659 	_searchpaths[SP_WORKING_DIR] = NULL;
   653 #else
   660 #else
   654 	getcwd(tmp, MAX_PATH);
   661 	getcwd(tmp, MAX_PATH);