Rebase against 40a83b2ff3bca9ef58d03400a3c8e4aac94a0dc7

This commit is contained in:
Alistair Leslie-Hughes
2019-07-07 13:18:09 +10:00
parent 4babcaf231
commit 35f28c4538
3 changed files with 18 additions and 18 deletions

View File

@ -23,7 +23,7 @@ index 24a46e8..daacaf5 100644
+
+ if (lstrlenW(PathToSource) + 1 + lstrlenW(FileSought) < sizeof(filepath))
+ {
+ snwprintf(filepath, MAX_PATH, format, PathToSource, FileSought);
+ _snwprintf(filepath, MAX_PATH, format, PathToSource, FileSought);
+
+ if (GetFileAttributesW(filepath) != INVALID_FILE_ATTRIBUTES)
+ {