From c73d8eee1982ba4982518d3f28651f848f130730 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Wed, 16 Oct 2013 21:13:16 +0300 Subject: [PATCH] Set exists to true if the file was found --- source/fs/windows/stat.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/fs/windows/stat.cpp b/source/fs/windows/stat.cpp index f0cbdb6..229d9e9 100644 --- a/source/fs/windows/stat.cpp +++ b/source/fs/windows/stat.cpp @@ -91,6 +91,7 @@ Stat Stat::stat(const Path &path) } Stat result; + result.exists = true; if(info.dwFileAttributes&FILE_ATTRIBUTE_DIRECTORY) result.type = DIRECTORY; else -- 2.43.0