Skip to content
Snippets Groups Projects
Commit c6c205a1 authored by Robert Shearman's avatar Robert Shearman Committed by Alexandre Julliard
Browse files

avifil32: Simplify a comparison in AVIBuildFilterW.

parent 878ea5d2
No related branches found
No related tags found
No related merge requests found
......@@ -1077,7 +1077,7 @@ HRESULT WINAPI AVIBuildFilterW(LPWSTR szFilter, LONG cbFilter, BOOL fSaving)
break; /* a new one */
}
if (count - i == -1U) {
if (i == count + 1) {
/* it's a new CLSID */
/* FIXME: How do we get info's about read/write capabilities? */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment