https://git.reactos.org/?p=reactos.git;a=commitdiff;h=3aa689fe57cf5a979d8ed…
commit 3aa689fe57cf5a979d8ed2fa7c5c95a9957fe572
Author: Amine Khaldi <amine.khaldi(a)reactos.org>
AuthorDate: Sat Nov 9 21:53:30 2019 +0100
Commit: Amine Khaldi <amine.khaldi(a)reactos.org>
CommitDate: Sat Nov 9 21:53:30 2019 +0100
[MCIWAVE] Sync with Wine Staging 4.18. CORE-16441
---
dll/win32/mciwave/mciwave.c | 3 +--
media/doc/README.WINE | 2 +-
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/dll/win32/mciwave/mciwave.c b/dll/win32/mciwave/mciwave.c
index 0fa9b204f81..78f26c2672c 100644
--- a/dll/win32/mciwave/mciwave.c
+++ b/dll/win32/mciwave/mciwave.c
@@ -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;
diff --git a/media/doc/README.WINE b/media/doc/README.WINE
index a42cb9641e9..01d073a9783 100644
--- a/media/doc/README.WINE
+++ b/media/doc/README.WINE
@@ -95,7 +95,7 @@ dll/win32/mciavi32 # Synced to WineStaging-4.18
dll/win32/mcicda # Synced to WineStaging-3.3
dll/win32/mciqtz32 # Synced to WineStaging-4.18
dll/win32/mciseq # Synced to WineStaging-4.18
-dll/win32/mciwave # Synced to WineStaging-4.0
+dll/win32/mciwave # Synced to WineStaging-4.18
dll/win32/mgmtapi # Synced to WineStaging-3.3
dll/win32/mlang # Synced to WineStaging-4.0
dll/win32/mmdevapi # Synced to WineStaging-4.0