dmusic: Indentation fix

Andrew Talbot andrew.talbot at talbotville.com
Mon May 26 10:23:40 CDT 2008


Changelog:
    dmusic: Indentation fix.

diff --git a/dlls/dmusic/collection.c b/dlls/dmusic/collection.c
index ba16acc..114082e 100644
--- a/dlls/dmusic/collection.c
+++ b/dlls/dmusic/collection.c
@@ -136,19 +136,19 @@ static HRESULT WINAPI IDirectMusicCollectionImpl_IDirectMusicCollection_EnumInst
 	unsigned int r = 0;
 	DMUS_PRIVATE_INSTRUMENTENTRY *tmpEntry;
 	struct list *listEntry;
-       DWORD dwLen;
-		
+	DWORD dwLen;
+
 	TRACE("(%p, %d, %p, %p, %d)\n", This, dwIndex, pdwPatch, pwszName, dwNameLen);
 	LIST_FOR_EACH (listEntry, &This->Instruments) {
 		tmpEntry = LIST_ENTRY(listEntry, DMUS_PRIVATE_INSTRUMENTENTRY, entry);
 		if (r == dwIndex) {
 			ICOM_NAME_MULTI (IDirectMusicInstrumentImpl, InstrumentVtbl, tmpEntry->pInstrument, pInstrument);
 			IDirectMusicInstrument_GetPatch (tmpEntry->pInstrument, pdwPatch);
-                       if (pwszName) {
-                               dwLen = min(strlenW(pInstrument->wszName),dwNameLen-1);
-                               memcpy (pwszName, pInstrument->wszName, dwLen * sizeof(WCHAR));
-                               pwszName[dwLen] = '\0';
-                       }
+			if (pwszName) {
+				dwLen = min(strlenW(pInstrument->wszName),dwNameLen-1);
+				memcpy (pwszName, pInstrument->wszName, dwLen * sizeof(WCHAR));
+				pwszName[dwLen] = '\0';
+			}
 			return S_OK;
 		}
 		r++;		



More information about the wine-patches mailing list