mciwave: Build with msvcrt.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2019-06-10 10:58:58 +02:00
parent 8ce096a9f0
commit f33a33700d
2 changed files with 3 additions and 2 deletions

View file

@ -1,5 +1,7 @@
MODULE = mciwave.dll
IMPORTS = winmm user32
EXTRADLLFLAGS = -mno-cygwin
C_SRCS = \
mciwave.c

View file

@ -32,7 +32,6 @@
#include "wownt32.h"
#include "digitalv.h"
#include "wine/debug.h"
#include "wine/unicode.h"
WINE_DEFAULT_DEBUG_CHANNEL(mciwave);
@ -466,7 +465,7 @@ static LRESULT WAVE_mciOpenFile(WINE_MCIWAVE* wmw, LPCWSTR filename)
fn = HeapAlloc(GetProcessHeap(), 0, (lstrlenW(filename) + 1) * sizeof(WCHAR));
if (!fn) return MCIERR_OUT_OF_MEMORY;
strcpyW(fn, filename);
lstrcpyW(fn, filename);
HeapFree(GetProcessHeap(), 0, wmw->lpFileName);
wmw->lpFileName = fn;