Commit 5c9396d7 authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent 86af5b97
......@@ -4,7 +4,7 @@ SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = msvfw32.dll
IMPORTLIB = libmsvfw32.$(IMPLIBEXT)
IMPORTS = winmm comctl32 user32 gdi32 advapi32 kernel32 ntdll
IMPORTS = winmm version comctl32 user32 gdi32 advapi32 kernel32 ntdll
C_SRCS = \
mciwnd.c \
......
......@@ -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);
return 20;
......
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