Zebediah Figura : msdmo: Make formatting consistent with the rest of the file.
Alexandre Julliard
julliard at winehq.org
Wed May 9 16:35:12 CDT 2018
Module: wine
Branch: master
Commit: 386c27084a326431323a1c453b3be39bd5381ed1
URL: https://source.winehq.org/git/wine.git/?a=commit;h=386c27084a326431323a1c453b3be39bd5381ed1
Author: Zebediah Figura <z.figura12 at gmail.com>
Date: Tue May 8 18:55:01 2018 -0500
msdmo: Make formatting consistent with the rest of the file.
Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/msdmo/dmoreg.c | 26 +++++++++++++-------------
1 file changed, 13 insertions(+), 13 deletions(-)
diff --git a/dlls/msdmo/dmoreg.c b/dlls/msdmo/dmoreg.c
index 255849d3d..1944a0a 100644
--- a/dlls/msdmo/dmoreg.c
+++ b/dlls/msdmo/dmoreg.c
@@ -571,7 +571,7 @@ static HRESULT WINAPI IEnumDMO_fnNext(
continue;
}
- pInTypes = (DMO_PARTIAL_MEDIATYPE*) szValue;
+ pInTypes = (DMO_PARTIAL_MEDIATYPE *)szValue;
TRACE("read %d intypes for %s:\n", cInTypes, debugstr_w(szKey));
for (i = 0; i < cInTypes; i++) {
@@ -584,10 +584,10 @@ static HRESULT WINAPI IEnumDMO_fnNext(
for (j = 0; j < cInTypes; j++)
{
if (IsMediaTypeEqual(&pInTypes[j], &This->pInTypes[i]))
- break;
+ break;
}
- if (j >= cInTypes)
+ if (j >= cInTypes)
break;
}
@@ -608,13 +608,13 @@ static HRESULT WINAPI IEnumDMO_fnNext(
sizeof(szValue)/sizeof(DMO_PARTIAL_MEDIATYPE),
(DMO_PARTIAL_MEDIATYPE*)szValue);
- if (FAILED(hres))
+ if (FAILED(hres))
{
RegCloseKey(hkey);
continue;
}
- pOutTypes = (DMO_PARTIAL_MEDIATYPE*) szValue;
+ pOutTypes = (DMO_PARTIAL_MEDIATYPE *)szValue;
TRACE("read %d outtypes for %s:\n", cOutTypes, debugstr_w(szKey));
for (i = 0; i < cOutTypes; i++) {
@@ -627,10 +627,10 @@ static HRESULT WINAPI IEnumDMO_fnNext(
for (j = 0; j < cOutTypes; j++)
{
if (IsMediaTypeEqual(&pOutTypes[j], &This->pOutTypes[i]))
- break;
+ break;
}
- if (j >= cOutTypes)
+ if (j >= cOutTypes)
break;
}
@@ -641,22 +641,22 @@ static HRESULT WINAPI IEnumDMO_fnNext(
}
}
- /* Media object wasn't filtered so add it to return list */
+ /* Media object wasn't filtered so add it to return list */
Names[count] = NULL;
- len = MAX_PATH * sizeof(WCHAR);
+ len = MAX_PATH * sizeof(WCHAR);
ret = RegQueryValueExW(hkey, NULL, NULL, NULL, (LPBYTE)szValue, &len);
if (ERROR_SUCCESS == ret)
- {
+ {
Names[count] = CoTaskMemAlloc((strlenW(szValue) + 1) * sizeof(WCHAR));
- if (Names[count])
+ if (Names[count])
strcpyW(Names[count], szValue);
- }
+ }
wsprintfW(szGuidKey,szToGuidFmt,szNextKey);
CLSIDFromString(szGuidKey, &pCLSID[count]);
TRACE("found match %s %s\n", debugstr_w(szValue), debugstr_w(szNextKey));
RegCloseKey(hkey);
- count++;
+ count++;
}
if (pcItemsFetched) *pcItemsFetched = count;
More information about the wine-cvs
mailing list