Commit ee7bba6a authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

qcap: Build with msvcrt.

parent 786d81d8
......@@ -3,6 +3,8 @@ IMPORTS = strmiids uuid ole32 oleaut32 gdi32 advapi32
DELAYIMPORTS = msvfw32
PARENTSRC = ../strmbase
EXTRADLLFLAGS = -mno-cygwin
C_SRCS = \
audiorecord.c \
avico.c \
......
......@@ -245,9 +245,9 @@ static HRESULT WINAPI filesinkfilter_SetFileName(IFileSinkFilter *iface,
if (mt)
FIXME("Ignoring media type %p.\n", mt);
if (!(new_filename = heap_alloc((strlenW(filename) + 1) * sizeof(WCHAR))))
if (!(new_filename = heap_alloc((wcslen(filename) + 1) * sizeof(WCHAR))))
return E_OUTOFMEMORY;
strcpyW(new_filename, filename);
wcscpy(new_filename, filename);
heap_free(filter->filename);
filter->filename = new_filename;
......
......@@ -28,7 +28,6 @@
#include "wine/debug.h"
#include "wine/heap.h"
#include "wine/strmbase.h"
#include "wine/unicode.h"
extern HINSTANCE qcap_instance DECLSPEC_HIDDEN;
......
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