https://git.reactos.org/?p=reactos.git;a=commitdiff;h=698fd79dd2e52c41dd52e…
commit 698fd79dd2e52c41dd52ed727bbabfe0246554e0
Author: Amine Khaldi <amine.khaldi(a)reactos.org>
AuthorDate: Mon Oct 1 00:24:54 2018 +0100
Commit: Amine Khaldi <amine.khaldi(a)reactos.org>
CommitDate: Mon Oct 1 00:24:54 2018 +0100
[QEDIT] Sync with Wine Staging 3.17. CORE-15127
---
dll/directx/wine/qedit/main.c | 4 ++--
media/doc/README.WINE | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dll/directx/wine/qedit/main.c b/dll/directx/wine/qedit/main.c
index a012ff210c..a46f3f02e5 100644
--- a/dll/directx/wine/qedit/main.c
+++ b/dll/directx/wine/qedit/main.c
@@ -167,13 +167,13 @@ HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid,
LPVOID *ppv)
&& ! IsEqualGUID( &IID_IUnknown, riid) )
return E_NOINTERFACE;
- for (i=0; i < sizeof(object_creation)/sizeof(object_creation[0]); i++)
+ for (i = 0; i < ARRAY_SIZE(object_creation); i++)
{
if (IsEqualGUID(object_creation[i].clsid, rclsid))
break;
}
- if (i == sizeof(object_creation)/sizeof(object_creation[0]))
+ if (i == ARRAY_SIZE(object_creation))
{
FIXME("%s: no class found.\n", debugstr_guid(rclsid));
return CLASS_E_CLASSNOTAVAILABLE;
diff --git a/media/doc/README.WINE b/media/doc/README.WINE
index 5fb5472d3d..e0f90c20dc 100644
--- a/media/doc/README.WINE
+++ b/media/doc/README.WINE
@@ -38,7 +38,7 @@ reactos/dll/directx/wine/dplayx # Synced to WineStaging-3.17
reactos/dll/directx/wine/dsound # Synced to Wine-1.3.29
reactos/dll/directx/wine/dxdiagn # Synced to WineStaging-3.3
reactos/dll/directx/wine/msdmo # Synced to WineStaging-3.17
-reactos/dll/directx/wine/qedit # Synced to WineStaging-3.3
+reactos/dll/directx/wine/qedit # Synced to WineStaging-3.17
reactos/dll/directx/wine/quartz # Synced to WineStaging-3.9
reactos/dll/directx/wine/wined3d # Synced to WineStaging-3.9