Commit c6c205a1 authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

avifil32: Simplify a comparison in AVIBuildFilterW.

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