From cee33327f8a559bd0b6ed783c5b229ee9746c5f6 Mon Sep 17 00:00:00 2001 From: Themaister Date: Thu, 5 Jan 2012 17:28:11 +0100 Subject: [PATCH] Ugh --- file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/file.c b/file.c index 87b3e9b0f2..b4286003e1 100644 --- a/file.c +++ b/file.c @@ -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)