[QEDIT] Sync with Wine Staging 3.17. CORE-15127
authorAmine Khaldi <amine.khaldi@reactos.org>
Sun, 30 Sep 2018 23:24:54 +0000 (00:24 +0100)
committerAmine Khaldi <amine.khaldi@reactos.org>
Sun, 30 Sep 2018 23:24:54 +0000 (00:24 +0100)
dll/directx/wine/qedit/main.c
media/doc/README.WINE

index a012ff2..a46f3f0 100644 (file)
@@ -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;
index 5fb5472..e0f90c2 100644 (file)
@@ -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