diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/gdtest/gdtest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gdtest/gdtest.c b/tests/gdtest/gdtest.c index 0ce9da9..4fa8f24 100644 --- a/tests/gdtest/gdtest.c +++ b/tests/gdtest/gdtest.c @@ -85,7 +85,7 @@ int gdTestIsDir(char *path) { WIN32_FILE_ATTRIBUTE_DATA data; if (!GetFileAttributesEx(path, GetFileExInfoStandard, &data)) { - continue; + return 0; } if (data.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) { return 0; |