void print_search_path()
{
const char* writedir = PHYSFS_getWriteDir();
- log_info << "PhysfsWritedDir: " << (writedir || "<null>") << std::endl;
+ log_info << "PhysfsWritedDir: " << (writedir ? writedir : "(null)") << std::endl;
+ log_info << "PhysfsSearchPath:" << std::endl;
char** searchpath = PHYSFS_getSearchPath();
for(char** i = searchpath; *i != NULL; ++i)
{
- log_info << "PhysfsSearchPath: " << *i << std::endl;
+ log_info << " " << *i << std::endl;
}
PHYSFS_freeList(searchpath);
}