aboutsummaryrefslogtreecommitdiff
path: root/c/ext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'c/ext.cpp')
-rw-r--r--c/ext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/ext.cpp b/c/ext.cpp
index 398804e..8e58ade 100644
--- a/c/ext.cpp
+++ b/c/ext.cpp
@@ -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