https://git.reactos.org/?p=reactos.git;a=commitdiff;h=2653fad683063012beb73…
commit 2653fad683063012beb73be4faaf99e31a8ff22d
Author: Amine Khaldi <amine.khaldi(a)reactos.org>
AuthorDate: Sat Jan 26 13:09:32 2019 +0100
Commit: Amine Khaldi <amine.khaldi(a)reactos.org>
CommitDate: Sat Jan 26 13:09:32 2019 +0100
[IMAADP32.ACM] Sync with Wine Staging 4.0. CORE-15682
---
dll/win32/imaadp32.acm/imaadp32.c | 8 ++++----
media/doc/README.WINE | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/dll/win32/imaadp32.acm/imaadp32.c b/dll/win32/imaadp32.acm/imaadp32.c
index 9518adc345..a93b5f6af7 100644
--- a/dll/win32/imaadp32.acm/imaadp32.c
+++ b/dll/win32/imaadp32.acm/imaadp32.c
@@ -530,13 +530,13 @@ static LRESULT ADPCM_DriverDetails(PACMDRIVERDETAILSW add)
add->cFilterTags = 0;
add->hicon = NULL;
MultiByteToWideChar( CP_ACP, 0, "Microsoft IMA ADPCM", -1,
- add->szShortName, sizeof(add->szShortName)/sizeof(WCHAR)
);
+ add->szShortName, ARRAY_SIZE(add->szShortName) );
MultiByteToWideChar( CP_ACP, 0, "Microsoft IMA ADPCM CODEC", -1,
- add->szLongName, sizeof(add->szLongName)/sizeof(WCHAR) );
+ add->szLongName, ARRAY_SIZE(add->szLongName) );
MultiByteToWideChar( CP_ACP, 0, "Brought to you by the Wine team...", -1,
- add->szCopyright, sizeof(add->szCopyright)/sizeof(WCHAR)
);
+ add->szCopyright, ARRAY_SIZE(add->szCopyright) );
MultiByteToWideChar( CP_ACP, 0, "Refer to LICENSE file", -1,
- add->szLicensing, sizeof(add->szLicensing)/sizeof(WCHAR)
);
+ add->szLicensing, ARRAY_SIZE(add->szLicensing) );
add->szFeatures[0] = 0;
return MMSYSERR_NOERROR;
diff --git a/media/doc/README.WINE b/media/doc/README.WINE
index 134e3b16f0..884392fa06 100644
--- a/media/doc/README.WINE
+++ b/media/doc/README.WINE
@@ -75,7 +75,7 @@ reactos/dll/win32/hnetcfg # Synced to WineStaging-3.9
reactos/dll/win32/httpapi # Synced to WineStaging-3.3
reactos/dll/win32/iccvid # Synced to WineStaging-4.0
reactos/dll/win32/ieframe # Synced to WineStaging-4.0
-reactos/dll/win32/imaadp32.acm # Synced to WineStaging-3.17
+reactos/dll/win32/imaadp32.acm # Synced to WineStaging-4.0
reactos/dll/win32/imagehlp # Synced to WineStaging-3.3
reactos/dll/win32/imm32 # Synced to WineStaging-3.17
reactos/dll/win32/inetcomm # Synced to WineStaging-3.17