Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.9, 0.9.1, and 0.9.1.1

merge with stable

Changeset eee4b5167d25

Parents 0df59976deff

Parents a83626cf91c4

by Steve Borho

Changes to one file · Browse files at eee4b5167d25 Showing diff from parent 0df59976deff a83626cf91c4 Diff from another changeset...

 
8
9
10
 
 
11
12
13
 
150
151
152
153
154
155
156
157
 
158
159
160
 
8
9
10
11
12
13
14
15
 
152
153
154
 
 
 
 
 
155
156
157
158
@@ -8,6 +8,8 @@
 #include <io.h>  #include "FCNTL.H"   +#include "shlwapi.h" +    LPWSTR hf_mbtowc(LPWSTR lpw, LPCSTR lpa, int nChars)  { @@ -150,11 +152,7 @@
   bool IsDirectory(const std::string& filename)  { - DWORD attributes = GetFileAttributesA(filename.c_str()); - if (attributes == INVALID_FILE_ATTRIBUTES) - return false; - - return (attributes & FILE_ATTRIBUTE_DIRECTORY) != 0; + return ::PathIsDirectory(filename.c_str()) != 0;  }