diff options
Diffstat (limited to 'c/ext.cpp')
-rw-r--r-- | c/ext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -87,7 +87,7 @@ static bool FindMatchingFile(wchar_t (&file)[MAX_PATH], const wchar_t* const roo WIN32_FIND_DATA fdata; Unique<HANDLE, FindClose> h = FindFirstFileW(pat, &fdata); - if (!h.Not(INVALID_HANDLE_VALUE)) + if (!h.Bad(INVALID_HANDLE_VALUE)) throw Win32Error(); do |