aboutsummaryrefslogtreecommitdiff
path: root/c/ext.cpp
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-08-30 02:19:56 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-08-30 02:20:23 +0200
commit6832f91958e6c2cc44a8c4a4e126ea20b8c8d5a3 (patch)
tree4f08e1f31429e2e716fa618f550342287a091a0e /c/ext.cpp
parent16ba8f3ae15363e921fca0e97f5c89cf12987b21 (diff)
downloadEpisodeBrowser-6832f91958e6c2cc44a8c4a4e126ea20b8c8d5a3.tar.gz
Fix Unique Good, Bad. Simplify HTML parser.
Good and Bad should obviously do the exact opposite thing to what they did.
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 8e58ade..694581d 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.Bad(INVALID_HANDLE_VALUE))
+ if (h.Bad(INVALID_HANDLE_VALUE))
throw Win32Error();
do