msvfw32: Fix invalid check that caused the rest of VideoCapDriverDescAndVer16 to be optimized out.

This commit is contained in:
Alexandre Julliard 2007-12-07 18:42:00 +01:00
parent 86af5b9754
commit 5c9396d734
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ SRCDIR = @srcdir@
VPATH = @srcdir@ VPATH = @srcdir@
MODULE = msvfw32.dll MODULE = msvfw32.dll
IMPORTLIB = libmsvfw32.$(IMPLIBEXT) IMPORTLIB = libmsvfw32.$(IMPLIBEXT)
IMPORTS = winmm comctl32 user32 gdi32 advapi32 kernel32 ntdll IMPORTS = winmm version comctl32 user32 gdi32 advapi32 kernel32 ntdll
C_SRCS = \ C_SRCS = \
mciwnd.c \ mciwnd.c \

View File

@ -813,7 +813,7 @@ DWORD WINAPI VideoCapDriverDescAndVer16(WORD nr, LPSTR buf1, WORD buf1len,
} }
} }
if (nr || !found) if (!found)
{ {
TRACE("No more VID* entries found nr=%d\n", nr); TRACE("No more VID* entries found nr=%d\n", nr);
return 20; return 20;