aboutsummaryrefslogtreecommitdiff
path: root/c/ext.cpp
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-08-29 23:33:48 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-08-29 23:33:48 +0200
commitb9d7ec228b03e2978b0e1d9f21dadd56b2f405e3 (patch)
treeb909da04cba0bcaada3c5fa16c474c49c684ef12 /c/ext.cpp
parentaabdb17f29216e03b9821fb99b57e9287ee46d6d (diff)
downloadEpisodeBrowser-b9d7ec228b03e2978b0e1d9f21dadd56b2f405e3.tar.gz
Small improvments.
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