diff options
author | John Ankarström <john@ankarstrom.se> | 2022-08-29 23:33:48 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2022-08-29 23:33:48 +0200 |
commit | b9d7ec228b03e2978b0e1d9f21dadd56b2f405e3 (patch) | |
tree | b909da04cba0bcaada3c5fa16c474c49c684ef12 /c/ext.cpp | |
parent | aabdb17f29216e03b9821fb99b57e9287ee46d6d (diff) | |
download | EpisodeBrowser-b9d7ec228b03e2978b0e1d9f21dadd56b2f405e3.tar.gz |
Small improvments.
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 |