https://git.reactos.org/?p=reactos.git;a=commitdiff;h=6c5ec3ddffcbdea6ad36c…
commit 6c5ec3ddffcbdea6ad36c814bd14992b290d37df
Author: Amine Khaldi <amine.khaldi(a)reactos.org>
AuthorDate: Tue Jan 29 13:07:09 2019 +0100
Commit: Amine Khaldi <amine.khaldi(a)reactos.org>
CommitDate: Tue Jan 29 13:07:09 2019 +0100
[MSRLE32] Sync with Wine Staging 4.0. CORE-15682
---
dll/win32/msrle32/msrle32.c | 8 ++++----
media/doc/README.WINE | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/dll/win32/msrle32/msrle32.c b/dll/win32/msrle32/msrle32.c
index 66880408d4..5bcfa86f97 100644
--- a/dll/win32/msrle32/msrle32.c
+++ b/dll/win32/msrle32/msrle32.c
@@ -1183,8 +1183,8 @@ static LRESULT GetInfo(const CodecInfo *pi, ICINFO *icinfo, DWORD
dwSize)
icinfo->dwVersion = ICVERSION;
icinfo->dwVersionICM = ICVERSION;
- LoadStringW(MSRLE32_hModule, IDS_NAME, icinfo->szName,
sizeof(icinfo->szName)/sizeof(WCHAR));
- LoadStringW(MSRLE32_hModule, IDS_DESCRIPTION, icinfo->szDescription,
sizeof(icinfo->szDescription)/sizeof(WCHAR));
+ LoadStringW(MSRLE32_hModule, IDS_NAME, icinfo->szName,
ARRAY_SIZE(icinfo->szName));
+ LoadStringW(MSRLE32_hModule, IDS_DESCRIPTION, icinfo->szDescription,
ARRAY_SIZE(icinfo->szDescription));
return sizeof(ICINFO);
}
@@ -1206,8 +1206,8 @@ static LRESULT About(CodecInfo *pi, HWND hWnd)
/* pre-condition */
assert(MSRLE32_hModule != 0);
- LoadStringW(MSRLE32_hModule, IDS_NAME, szTitle, sizeof(szTitle)/sizeof(szTitle[0]));
- LoadStringW(MSRLE32_hModule, IDS_ABOUT, szAbout, sizeof(szAbout)/sizeof(szAbout[0]));
+ LoadStringW(MSRLE32_hModule, IDS_NAME, szTitle, ARRAY_SIZE(szTitle));
+ LoadStringW(MSRLE32_hModule, IDS_ABOUT, szAbout, ARRAY_SIZE(szAbout));
MessageBoxW(hWnd, szAbout, szTitle, MB_OK|MB_ICONINFORMATION);
diff --git a/media/doc/README.WINE b/media/doc/README.WINE
index 831ffb7575..7444ffb993 100644
--- a/media/doc/README.WINE
+++ b/media/doc/README.WINE
@@ -119,7 +119,7 @@ reactos/dll/win32/msisip # Synced to WineStaging-3.3
reactos/dll/win32/msisys.ocx # Synced to WineStaging-3.3
reactos/dll/win32/msnet32 # Synced to WineStaging-2.9
reactos/dll/win32/mspatcha # Forked at WineStaging-3.3
-reactos/dll/win32/msrle32 # Synced to WineStaging-3.3
+reactos/dll/win32/msrle32 # Synced to WineStaging-4.0
reactos/dll/win32/mssign32 # Synced to WineStaging-3.3
reactos/dll/win32/mssip32 # Synced to WineStaging-3.3
reactos/dll/win32/mstask # Synced to WineStaging-3.3