X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Ffs%2Fwindows%2Fstat.cpp;h=229d9e9485cda8a6c8e1f31d30b4f83fae232836;hp=f0cbdb653a743a0538f1948de4479e1a3490ea8f;hb=c73d8eee1982ba4982518d3f28651f848f130730;hpb=609c9a508cfdc7b42c46c4f21d17639204165a00 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