[PATCH] dmusic: Variable spelling fix.

Christian Costa titan.costa at gmail.com
Thu May 10 00:52:58 CDT 2012


---
 dlls/dmusic/instrument.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dlls/dmusic/instrument.c b/dlls/dmusic/instrument.c
index 0578b79..2ebbf57 100644
--- a/dlls/dmusic/instrument.c
+++ b/dlls/dmusic/instrument.c
@@ -132,16 +132,16 @@ HRESULT DMUSIC_CreateDirectMusicInstrumentImpl (LPCGUID lpcGUID, LPVOID* ppobj,
 
 static HRESULT read_from_stream(IStream *stream, void *data, ULONG size)
 {
-    ULONG readed;
+    ULONG read;
     HRESULT hr;
 
-    hr = IStream_Read(stream, data, size, &readed);
+    hr = IStream_Read(stream, data, size, &read);
     if(FAILED(hr)){
         TRACE("IStream_Read failed: %08x\n", hr);
         return hr;
     }
-    if(readed < size){
-        TRACE("Didn't read full chunk: %u < %u\n", readed, size);
+    if (read < size) {
+        TRACE("Didn't read full chunk: %u < %u\n", read, size);
         return E_FAIL;
     }
 




More information about the wine-patches mailing list