https://git.reactos.org/?p=reactos.git;a=commitdiff;h=dac1cd3c0aa6164827410…
commit dac1cd3c0aa61648274106a9149f19bde30d3a14
Author: Amine Khaldi <amine.khaldi(a)reactos.org>
AuthorDate: Sat Nov 9 21:52:56 2019 +0100
Commit: Amine Khaldi <amine.khaldi(a)reactos.org>
CommitDate: Sat Nov 9 21:52:56 2019 +0100
[MCISEQ] Sync with Wine Staging 4.18. CORE-16441
---
dll/win32/mciseq/mcimidi.c | 6 +++---
media/doc/README.WINE | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/dll/win32/mciseq/mcimidi.c b/dll/win32/mciseq/mcimidi.c
index 864ab98067c..c6bc860b1e6 100644
--- a/dll/win32/mciseq/mcimidi.c
+++ b/dll/win32/mciseq/mcimidi.c
@@ -32,12 +32,12 @@
#include "windef.h"
#include "winbase.h"
+#include "winnls.h"
#include "wingdi.h"
#include "winuser.h"
#include "wownt32.h"
#include "mmddk.h"
#include "wine/debug.h"
-#include "wine/unicode.h"
WINE_DEFAULT_DEBUG_CHANNEL(mcimidi);
@@ -692,8 +692,8 @@ static DWORD MIDI_mciOpen(WINE_MCIMIDI* wmm, DWORD dwFlags,
LPMCI_OPEN_PARMSW lp
return MCIERR_FILE_NOT_FOUND;
}
wmm->lpstrElementName = HeapAlloc(GetProcessHeap(), 0,
- (strlenW(lpParms->lpstrElementName) + 1)
* sizeof(WCHAR));
- strcpyW(wmm->lpstrElementName, lpParms->lpstrElementName);
+ (lstrlenW(lpParms->lpstrElementName) +
1) * sizeof(WCHAR));
+ lstrcpyW(wmm->lpstrElementName, lpParms->lpstrElementName);
}
}
TRACE("hFile=%p\n", wmm->hFile);
diff --git a/media/doc/README.WINE b/media/doc/README.WINE
index 4b8dfb11244..a42cb9641e9 100644
--- a/media/doc/README.WINE
+++ b/media/doc/README.WINE
@@ -94,7 +94,7 @@ dll/win32/mapi32 # Synced to WineStaging-4.18
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-3.3
+dll/win32/mciseq # Synced to WineStaging-4.18
dll/win32/mciwave # Synced to WineStaging-4.0
dll/win32/mgmtapi # Synced to WineStaging-3.3
dll/win32/mlang # Synced to WineStaging-4.0