From: Mikko Rasa Date: Wed, 16 Oct 2013 18:13:16 +0000 (+0300) Subject: Set exists to true if the file was found X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=c73d8eee1982ba4982518d3f28651f848f130730;p=libs%2Fcore.git Set exists to true if the file was found --- 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