https://git.reactos.org/?p=reactos.git;a=commitdiff;h=9622551c519be9aa5bc6f…
commit 9622551c519be9aa5bc6fce5c66a57abef1d3a2e
Author: Amine Khaldi <amine.khaldi(a)reactos.org>
AuthorDate: Mon Feb 4 13:03:27 2019 +0100
Commit: Amine Khaldi <amine.khaldi(a)reactos.org>
CommitDate: Mon Feb 4 13:03:27 2019 +0100
[T2EMBED] Sync with Wine Staging 4.0. CORE-15682
---
dll/win32/t2embed/main.c | 2 +-
media/doc/README.WINE | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dll/win32/t2embed/main.c b/dll/win32/t2embed/main.c
index 766926fbfa..288c19bee1 100644
--- a/dll/win32/t2embed/main.c
+++ b/dll/win32/t2embed/main.c
@@ -136,7 +136,7 @@ LONG WINAPI TTIsEmbeddingEnabledForFacename(LPCSTR facename, BOOL
*enabled)
DWORD name_len, value_len, value, type;
CHAR name[LF_FACESIZE];
- name_len = sizeof(name)/sizeof(*name);
+ name_len = ARRAY_SIZE(name);
value_len = sizeof(value);
ret = RegEnumValueA(hkey, index++, name, &name_len, NULL, &type,
(BYTE*)&value, &value_len);
if (ret || type != REG_DWORD)
diff --git a/media/doc/README.WINE b/media/doc/README.WINE
index 2a5349ed1a..f54597c716 100644
--- a/media/doc/README.WINE
+++ b/media/doc/README.WINE
@@ -182,7 +182,7 @@ reactos/dll/win32/stdole2.tlb # Synced to WineStaging-3.3
reactos/dll/win32/stdole32.tlb # Synced to WineStaging-3.3
reactos/dll/win32/sti # Synced to WineStaging-3.3
reactos/dll/win32/sxs # Synced to WineStaging-4.0
-reactos/dll/win32/t2embed # Synced to WineStaging-3.3
+reactos/dll/win32/t2embed # Synced to WineStaging-4.0
reactos/dll/win32/tapi32 # Synced to WineStaging-3.3
reactos/dll/win32/traffic # Synced to WineStaging-3.3
reactos/dll/win32/twain_32 # Synced to WineStaging-3.3