Commit f33a3370 authored by Alexandre Julliard's avatar Alexandre Julliard

mciwave: Build with msvcrt.

parent 8ce096a9
MODULE = mciwave.dll MODULE = mciwave.dll
IMPORTS = winmm user32 IMPORTS = winmm user32
EXTRADLLFLAGS = -mno-cygwin
C_SRCS = \ C_SRCS = \
mciwave.c mciwave.c
...@@ -32,7 +32,6 @@ ...@@ -32,7 +32,6 @@
#include "wownt32.h" #include "wownt32.h"
#include "digitalv.h" #include "digitalv.h"
#include "wine/debug.h" #include "wine/debug.h"
#include "wine/unicode.h"
WINE_DEFAULT_DEBUG_CHANNEL(mciwave); WINE_DEFAULT_DEBUG_CHANNEL(mciwave);
...@@ -466,7 +465,7 @@ static LRESULT WAVE_mciOpenFile(WINE_MCIWAVE* wmw, LPCWSTR filename) ...@@ -466,7 +465,7 @@ static LRESULT WAVE_mciOpenFile(WINE_MCIWAVE* wmw, LPCWSTR filename)
fn = HeapAlloc(GetProcessHeap(), 0, (lstrlenW(filename) + 1) * sizeof(WCHAR)); fn = HeapAlloc(GetProcessHeap(), 0, (lstrlenW(filename) + 1) * sizeof(WCHAR));
if (!fn) return MCIERR_OUT_OF_MEMORY; if (!fn) return MCIERR_OUT_OF_MEMORY;
strcpyW(fn, filename); lstrcpyW(fn, filename);
HeapFree(GetProcessHeap(), 0, wmw->lpFileName); HeapFree(GetProcessHeap(), 0, wmw->lpFileName);
wmw->lpFileName = fn; wmw->lpFileName = fn;
......
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