Module: wine Branch: master Commit: 1501d3a49a57b94d6865306fc3dfffa867c2624d URL: http://source.winehq.org/git/wine.git/?a=commit;h=1501d3a49a57b94d6865306fc3...
Author: Christian Costa titan.costa@gmail.com Date: Fri May 11 08:19:10 2012 +0200
dmusic: Variable spelling fix.
---
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..6eaa708 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 bytes_read; HRESULT hr;
- hr = IStream_Read(stream, data, size, &readed); + hr = IStream_Read(stream, data, size, &bytes_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 (bytes_read < size) { + TRACE("Didn't read full chunk: %u < %u\n", bytes_read, size); return E_FAIL; }