https://git.reactos.org/?p=reactos.git;a=commitdiff;h=bca17f6bf6786ddc2639e…
commit bca17f6bf6786ddc2639e7b52607d54960528ed2
Author: Amine Khaldi <amine.khaldi(a)reactos.org>
AuthorDate: Sat Jan 26 13:15:03 2019 +0100
Commit: Amine Khaldi <amine.khaldi(a)reactos.org>
CommitDate: Sat Jan 26 13:15:03 2019 +0100
[MCIWAVE] Sync with Wine Staging 4.0. CORE-15682
---
dll/win32/mciwave/mciwave.c | 2 +-
media/doc/README.WINE | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dll/win32/mciwave/mciwave.c b/dll/win32/mciwave/mciwave.c
index fd4d6f6728..0fa9b204f8 100644
--- a/dll/win32/mciwave/mciwave.c
+++ b/dll/win32/mciwave/mciwave.c
@@ -427,7 +427,7 @@ static DWORD create_tmp_file(HMMIO* hFile, LPWSTR* pszTmpFileName)
szPrefix[2] = 'I';
szPrefix[3] = '\0';
- if (!GetTempPathW(sizeof(szTmpPath)/sizeof(szTmpPath[0]), szTmpPath)) {
+ if (!GetTempPathW(ARRAY_SIZE(szTmpPath), szTmpPath)) {
WARN("can't retrieve temp path!\n");
*pszTmpFileName = NULL;
return MCIERR_FILE_NOT_FOUND;
diff --git a/media/doc/README.WINE b/media/doc/README.WINE
index db06b180c8..a26f59941d 100644
--- a/media/doc/README.WINE
+++ b/media/doc/README.WINE
@@ -94,7 +94,7 @@ reactos/dll/win32/mciavi32 # Synced to WineStaging-3.3
reactos/dll/win32/mcicda # Synced to WineStaging-3.3
reactos/dll/win32/mciqtz32 # Synced to WineStaging-3.3
reactos/dll/win32/mciseq # Synced to WineStaging-3.3
-reactos/dll/win32/mciwave # Synced to WineStaging-3.3
+reactos/dll/win32/mciwave # Synced to WineStaging-4.0
reactos/dll/win32/mgmtapi # Synced to WineStaging-3.3
reactos/dll/win32/mlang # Synced to WineStaging-3.3
reactos/dll/win32/mmdevapi # Synced to WineStaging-3.3