This commit is contained in:
Themaister 2012-01-05 17:28:11 +01:00
parent f70b52a0df
commit cee33327f8

2
file.c
View File

@ -937,7 +937,7 @@ void dir_list_free(char **dir_list)
bool path_is_directory(const char *path)
{
#ifdef _WIN32
return PathIsDirectory(buf) == FILE_ATTRIBUTE_DIRECTORY;
return PathIsDirectory(path) == FILE_ATTRIBUTE_DIRECTORY;
#elif defined(__CELLOS_LV2__)
return false; // STUB
#elif defined(XENON)