avifil32: Simplify a comparison in AVIBuildFilterW.

This commit is contained in:
Rob Shearman 2008-02-19 11:36:55 +00:00 committed by Alexandre Julliard
parent 878ea5d2e2
commit c6c205a1d5
1 changed files with 1 additions and 1 deletions

View File

@ -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? */