Commit b5a33dab authored by Frédéric Delanoy's avatar Frédéric Delanoy Committed by Alexandre Julliard

dlls: Assorted spelling fixes.

parent 0cfe9fa6
...@@ -374,7 +374,7 @@ static HRESULT WINAPI IDirectMusicContainerImpl_IDirectMusicObject_ParseDescript ...@@ -374,7 +374,7 @@ static HRESULT WINAPI IDirectMusicContainerImpl_IDirectMusicObject_ParseDescript
break; break;
} }
default: { default: {
TRACE_(dmfile)(": unknown chunk (irrevelant & skipping)\n"); TRACE_(dmfile)(": unknown chunk (irrelevant & skipping)\n");
liMove.QuadPart = Chunk.dwSize; liMove.QuadPart = Chunk.dwSize;
IStream_Seek (pStream, liMove, STREAM_SEEK_CUR, NULL); IStream_Seek (pStream, liMove, STREAM_SEEK_CUR, NULL);
break; break;
...@@ -394,7 +394,7 @@ static HRESULT WINAPI IDirectMusicContainerImpl_IDirectMusicObject_ParseDescript ...@@ -394,7 +394,7 @@ static HRESULT WINAPI IDirectMusicContainerImpl_IDirectMusicObject_ParseDescript
break; break;
} }
default: { default: {
TRACE_(dmfile)(": unknown chunk (irrevelant & skipping)\n"); TRACE_(dmfile)(": unknown chunk (irrelevant & skipping)\n");
liMove.QuadPart = Chunk.dwSize; liMove.QuadPart = Chunk.dwSize;
IStream_Seek (pStream, liMove, STREAM_SEEK_CUR, NULL); IStream_Seek (pStream, liMove, STREAM_SEEK_CUR, NULL);
break; break;
...@@ -594,7 +594,7 @@ static HRESULT WINAPI IDirectMusicContainerImpl_IPersistStream_Load (LPPERSISTST ...@@ -594,7 +594,7 @@ static HRESULT WINAPI IDirectMusicContainerImpl_IPersistStream_Load (LPPERSISTST
break; break;
} }
default: { default: {
TRACE_(dmfile)(": unknown chunk (irrevelant & skipping)\n"); TRACE_(dmfile)(": unknown chunk (irrelevant & skipping)\n");
liMove.QuadPart = Chunk.dwSize; liMove.QuadPart = Chunk.dwSize;
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL); IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
break; break;
...@@ -757,7 +757,7 @@ static HRESULT WINAPI IDirectMusicContainerImpl_IPersistStream_Load (LPPERSISTST ...@@ -757,7 +757,7 @@ static HRESULT WINAPI IDirectMusicContainerImpl_IPersistStream_Load (LPPERSISTST
break; break;
} }
default: { default: {
TRACE_(dmfile)(": unknown chunk (irrevelant & skipping)\n"); TRACE_(dmfile)(": unknown chunk (irrelevant & skipping)\n");
liMove.QuadPart = Chunk.dwSize; liMove.QuadPart = Chunk.dwSize;
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL); IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
break; break;
...@@ -790,7 +790,7 @@ static HRESULT WINAPI IDirectMusicContainerImpl_IPersistStream_Load (LPPERSISTST ...@@ -790,7 +790,7 @@ static HRESULT WINAPI IDirectMusicContainerImpl_IPersistStream_Load (LPPERSISTST
break; break;
} }
default: { default: {
TRACE_(dmfile)(": unknown chunk (irrevelant & skipping)\n"); TRACE_(dmfile)(": unknown chunk (irrelevant & skipping)\n");
liMove.QuadPart = Chunk.dwSize; liMove.QuadPart = Chunk.dwSize;
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL); IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
break; break;
...@@ -810,7 +810,7 @@ static HRESULT WINAPI IDirectMusicContainerImpl_IPersistStream_Load (LPPERSISTST ...@@ -810,7 +810,7 @@ static HRESULT WINAPI IDirectMusicContainerImpl_IPersistStream_Load (LPPERSISTST
break; break;
} }
default: { default: {
TRACE_(dmfile)(": unknown chunk (irrevelant & skipping)\n"); TRACE_(dmfile)(": unknown chunk (irrelevant & skipping)\n");
liMove.QuadPart = Chunk.dwSize; liMove.QuadPart = Chunk.dwSize;
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL); IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
break; break;
......
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
* stream is; as such, all functions are supported, as long as underlying * stream is; as such, all functions are supported, as long as underlying
* ("low-level") stream supports them * ("low-level") stream supports them
* *
* - Rok Mandeljc; 24. april, 2004 * - Rok Mandeljc; 24. April, 2004
*/ */
#define NONAMELESSUNION #define NONAMELESSUNION
......
...@@ -352,7 +352,7 @@ static HRESULT WINAPI IDirectMusicScriptImpl_IDirectMusicObject_ParseDescriptor ...@@ -352,7 +352,7 @@ static HRESULT WINAPI IDirectMusicScriptImpl_IDirectMusicObject_ParseDescriptor
break; break;
} }
default: { default: {
TRACE_(dmfile)(": unknown chunk (irrevelant & skipping)\n"); TRACE_(dmfile)(": unknown chunk (irrelevant & skipping)\n");
liMove.QuadPart = Chunk.dwSize; liMove.QuadPart = Chunk.dwSize;
IStream_Seek (pStream, liMove, STREAM_SEEK_CUR, NULL); IStream_Seek (pStream, liMove, STREAM_SEEK_CUR, NULL);
break; break;
...@@ -372,7 +372,7 @@ static HRESULT WINAPI IDirectMusicScriptImpl_IDirectMusicObject_ParseDescriptor ...@@ -372,7 +372,7 @@ static HRESULT WINAPI IDirectMusicScriptImpl_IDirectMusicObject_ParseDescriptor
break; break;
} }
default: { default: {
TRACE_(dmfile)(": unknown chunk (irrevelant & skipping)\n"); TRACE_(dmfile)(": unknown chunk (irrelevant & skipping)\n");
liMove.QuadPart = Chunk.dwSize; liMove.QuadPart = Chunk.dwSize;
IStream_Seek (pStream, liMove, STREAM_SEEK_CUR, NULL); IStream_Seek (pStream, liMove, STREAM_SEEK_CUR, NULL);
break; break;
...@@ -618,7 +618,7 @@ static HRESULT WINAPI IDirectMusicScriptImpl_IPersistStream_Load (LPPERSISTSTREA ...@@ -618,7 +618,7 @@ static HRESULT WINAPI IDirectMusicScriptImpl_IPersistStream_Load (LPPERSISTSTREA
break; break;
} }
default: { default: {
TRACE_(dmfile)(": unknown sub-chunk (irrevelant & skipping)\n"); TRACE_(dmfile)(": unknown sub-chunk (irrelevant & skipping)\n");
liMove.QuadPart = Chunk.dwSize; liMove.QuadPart = Chunk.dwSize;
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL); IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
break; break;
...@@ -638,7 +638,7 @@ static HRESULT WINAPI IDirectMusicScriptImpl_IPersistStream_Load (LPPERSISTSTREA ...@@ -638,7 +638,7 @@ static HRESULT WINAPI IDirectMusicScriptImpl_IPersistStream_Load (LPPERSISTSTREA
break; break;
} }
default: { default: {
TRACE_(dmfile)(": unknown chunk (irrevelant & skipping)\n"); TRACE_(dmfile)(": unknown chunk (irrelevant & skipping)\n");
liMove.QuadPart = Chunk.dwSize; liMove.QuadPart = Chunk.dwSize;
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL); IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
break; break;
......
...@@ -320,7 +320,7 @@ static HRESULT IDirectMusicChordTrack_IPersistStream_ParseChordTrackList (LPPERS ...@@ -320,7 +320,7 @@ static HRESULT IDirectMusicChordTrack_IPersistStream_ParseChordTrackList (LPPERS
break; break;
} }
default: { default: {
TRACE_(dmfile)(": unknown chunk (irrevelant & skipping)\n"); TRACE_(dmfile)(": unknown chunk (irrelevant & skipping)\n");
liMove.QuadPart = Chunk.dwSize; liMove.QuadPart = Chunk.dwSize;
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL); IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
break; break;
......
...@@ -183,7 +183,7 @@ HRESULT IDirectMusicUtils_IPersistStream_ParseReference (LPPERSISTSTREAM iface, ...@@ -183,7 +183,7 @@ HRESULT IDirectMusicUtils_IPersistStream_ParseReference (LPPERSISTSTREAM iface,
break; break;
} }
default: { default: {
TRACE(": unknown chunk (irrevelant & skipping)\n"); TRACE(": unknown chunk (irrelevant & skipping)\n");
liMove.QuadPart = Chunk.dwSize; liMove.QuadPart = Chunk.dwSize;
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL); IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
break; break;
......
...@@ -356,7 +356,7 @@ static HRESULT WINAPI IDirectMusicStyle8Impl_IDirectMusicObject_ParseDescriptor ...@@ -356,7 +356,7 @@ static HRESULT WINAPI IDirectMusicStyle8Impl_IDirectMusicObject_ParseDescriptor
break; break;
} }
default: { default: {
TRACE_(dmfile)(": unknown chunk (irrevelant & skipping)\n"); TRACE_(dmfile)(": unknown chunk (irrelevant & skipping)\n");
liMove.QuadPart = Chunk.dwSize; liMove.QuadPart = Chunk.dwSize;
IStream_Seek (pStream, liMove, STREAM_SEEK_CUR, NULL); IStream_Seek (pStream, liMove, STREAM_SEEK_CUR, NULL);
break; break;
...@@ -376,7 +376,7 @@ static HRESULT WINAPI IDirectMusicStyle8Impl_IDirectMusicObject_ParseDescriptor ...@@ -376,7 +376,7 @@ static HRESULT WINAPI IDirectMusicStyle8Impl_IDirectMusicObject_ParseDescriptor
break; break;
} }
default: { default: {
TRACE_(dmfile)(": unknown chunk (irrevelant & skipping)\n"); TRACE_(dmfile)(": unknown chunk (irrelevant & skipping)\n");
liMove.QuadPart = Chunk.dwSize; liMove.QuadPart = Chunk.dwSize;
IStream_Seek (pStream, liMove, STREAM_SEEK_CUR, NULL); IStream_Seek (pStream, liMove, STREAM_SEEK_CUR, NULL);
break; break;
...@@ -533,7 +533,7 @@ static HRESULT IDirectMusicStyle8Impl_IPersistStream_ParsePartRefList (LPPERSIST ...@@ -533,7 +533,7 @@ static HRESULT IDirectMusicStyle8Impl_IPersistStream_ParsePartRefList (LPPERSIST
if (hr == S_FALSE) { if (hr == S_FALSE) {
switch (Chunk.fccID) { switch (Chunk.fccID) {
default: { default: {
TRACE_(dmfile)(": unknown chunk (irrevelant & skipping)\n"); TRACE_(dmfile)(": unknown chunk (irrelevant & skipping)\n");
liMove.QuadPart = Chunk.dwSize; liMove.QuadPart = Chunk.dwSize;
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL); IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
break; break;
...@@ -554,7 +554,7 @@ static HRESULT IDirectMusicStyle8Impl_IPersistStream_ParsePartRefList (LPPERSIST ...@@ -554,7 +554,7 @@ static HRESULT IDirectMusicStyle8Impl_IPersistStream_ParsePartRefList (LPPERSIST
break; break;
} }
default: { default: {
TRACE_(dmfile)(": unknown chunk (irrevelant & skipping)\n"); TRACE_(dmfile)(": unknown chunk (irrelevant & skipping)\n");
liMove.QuadPart = Chunk.dwSize; liMove.QuadPart = Chunk.dwSize;
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL); IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
break; break;
...@@ -666,7 +666,7 @@ static HRESULT IDirectMusicStyle8Impl_IPersistStream_ParsePartList (LPPERSISTSTR ...@@ -666,7 +666,7 @@ static HRESULT IDirectMusicStyle8Impl_IPersistStream_ParsePartList (LPPERSISTSTR
if (hr == S_FALSE) { if (hr == S_FALSE) {
switch (Chunk.fccID) { switch (Chunk.fccID) {
default: { default: {
TRACE_(dmfile)(": unknown chunk (irrevelant & skipping)\n"); TRACE_(dmfile)(": unknown chunk (irrelevant & skipping)\n");
liMove.QuadPart = Chunk.dwSize; liMove.QuadPart = Chunk.dwSize;
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL); IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
break; break;
...@@ -678,7 +678,7 @@ static HRESULT IDirectMusicStyle8Impl_IPersistStream_ParsePartList (LPPERSISTSTR ...@@ -678,7 +678,7 @@ static HRESULT IDirectMusicStyle8Impl_IPersistStream_ParsePartList (LPPERSISTSTR
break; break;
} }
default: { default: {
TRACE_(dmfile)(": unknown chunk (irrevelant & skipping)\n"); TRACE_(dmfile)(": unknown chunk (irrelevant & skipping)\n");
liMove.QuadPart = Chunk.dwSize; liMove.QuadPart = Chunk.dwSize;
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL); IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
break; break;
...@@ -687,7 +687,7 @@ static HRESULT IDirectMusicStyle8Impl_IPersistStream_ParsePartList (LPPERSISTSTR ...@@ -687,7 +687,7 @@ static HRESULT IDirectMusicStyle8Impl_IPersistStream_ParsePartList (LPPERSISTSTR
break; break;
} }
default: { default: {
TRACE_(dmfile)(": unknown chunk (irrevelant & skipping)\n"); TRACE_(dmfile)(": unknown chunk (irrelevant & skipping)\n");
liMove.QuadPart = Chunk.dwSize; liMove.QuadPart = Chunk.dwSize;
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL); IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
break; break;
...@@ -798,7 +798,7 @@ static HRESULT IDirectMusicStyle8Impl_IPersistStream_ParsePatternList (LPPERSIST ...@@ -798,7 +798,7 @@ static HRESULT IDirectMusicStyle8Impl_IPersistStream_ParsePatternList (LPPERSIST
break; break;
} }
default: { default: {
TRACE_(dmfile)(": unknown chunk (irrevelant & skipping)\n"); TRACE_(dmfile)(": unknown chunk (irrelevant & skipping)\n");
liMove.QuadPart = ListSize[1]; liMove.QuadPart = ListSize[1];
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL); IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
break; break;
...@@ -825,7 +825,7 @@ static HRESULT IDirectMusicStyle8Impl_IPersistStream_ParsePatternList (LPPERSIST ...@@ -825,7 +825,7 @@ static HRESULT IDirectMusicStyle8Impl_IPersistStream_ParsePatternList (LPPERSIST
if (hr == S_FALSE) { if (hr == S_FALSE) {
switch (Chunk.fccID) { switch (Chunk.fccID) {
default: { default: {
TRACE_(dmfile)(": unknown chunk (irrevelant & skipping)\n"); TRACE_(dmfile)(": unknown chunk (irrelevant & skipping)\n");
liMove.QuadPart = Chunk.dwSize; liMove.QuadPart = Chunk.dwSize;
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL); IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
break; break;
...@@ -852,7 +852,7 @@ static HRESULT IDirectMusicStyle8Impl_IPersistStream_ParsePatternList (LPPERSIST ...@@ -852,7 +852,7 @@ static HRESULT IDirectMusicStyle8Impl_IPersistStream_ParsePatternList (LPPERSIST
break; break;
} }
default: { default: {
TRACE_(dmfile)(": unknown chunk (irrevelant & skipping)\n"); TRACE_(dmfile)(": unknown chunk (irrelevant & skipping)\n");
liMove.QuadPart = Chunk.dwSize; liMove.QuadPart = Chunk.dwSize;
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL); IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
break; break;
...@@ -945,7 +945,7 @@ static HRESULT IDirectMusicStyle8Impl_IPersistStream_ParseStyleForm (LPPERSISTST ...@@ -945,7 +945,7 @@ static HRESULT IDirectMusicStyle8Impl_IPersistStream_ParseStyleForm (LPPERSISTST
break; break;
} }
default: { default: {
TRACE_(dmfile)(": unknown chunk (irrevelant & skipping)\n"); TRACE_(dmfile)(": unknown chunk (irrelevant & skipping)\n");
liMove.QuadPart = ListSize[0]; liMove.QuadPart = ListSize[0];
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL); IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
break; break;
...@@ -972,7 +972,7 @@ static HRESULT IDirectMusicStyle8Impl_IPersistStream_ParseStyleForm (LPPERSISTST ...@@ -972,7 +972,7 @@ static HRESULT IDirectMusicStyle8Impl_IPersistStream_ParseStyleForm (LPPERSISTST
if (hr == S_FALSE) { if (hr == S_FALSE) {
switch (Chunk.fccID) { switch (Chunk.fccID) {
default: { default: {
TRACE_(dmfile)(": unknown chunk (irrevelant & skipping)\n"); TRACE_(dmfile)(": unknown chunk (irrelevant & skipping)\n");
liMove.QuadPart = Chunk.dwSize; liMove.QuadPart = Chunk.dwSize;
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL); IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
break; break;
...@@ -1005,7 +1005,7 @@ static HRESULT IDirectMusicStyle8Impl_IPersistStream_ParseStyleForm (LPPERSISTST ...@@ -1005,7 +1005,7 @@ static HRESULT IDirectMusicStyle8Impl_IPersistStream_ParseStyleForm (LPPERSISTST
break; break;
} }
default: { default: {
TRACE_(dmfile)(": unknown chunk (irrevelant & skipping)\n"); TRACE_(dmfile)(": unknown chunk (irrelevant & skipping)\n");
liMove.QuadPart = Chunk.dwSize; liMove.QuadPart = Chunk.dwSize;
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL); IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
break; break;
......
...@@ -328,7 +328,7 @@ static HRESULT IDirectMusicStyleTrack_IPersistStream_ParseStyleRef (LPPERSISTSTR ...@@ -328,7 +328,7 @@ static HRESULT IDirectMusicStyleTrack_IPersistStream_ParseStyleRef (LPPERSISTSTR
break; break;
} }
default: { default: {
TRACE_(dmfile)(": unknown chunk (irrevelant & skipping)\n"); TRACE_(dmfile)(": unknown chunk (irrelevant & skipping)\n");
liMove.QuadPart = Chunk.dwSize; liMove.QuadPart = Chunk.dwSize;
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL); IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
break; break;
...@@ -383,7 +383,7 @@ static HRESULT IDirectMusicStyleTrack_IPersistStream_ParseStyleTrackList (LPPERS ...@@ -383,7 +383,7 @@ static HRESULT IDirectMusicStyleTrack_IPersistStream_ParseStyleTrackList (LPPERS
break; break;
} }
default: { default: {
TRACE_(dmfile)(": unknown chunk (irrevelant & skipping)\n"); TRACE_(dmfile)(": unknown chunk (irrelevant & skipping)\n");
liMove.QuadPart = Chunk.dwSize; liMove.QuadPart = Chunk.dwSize;
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL); IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
break; break;
......
...@@ -336,7 +336,7 @@ static HRESULT WINAPI IDirectMusicCollectionImpl_IDirectMusicObject_ParseDescrip ...@@ -336,7 +336,7 @@ static HRESULT WINAPI IDirectMusicCollectionImpl_IDirectMusicObject_ParseDescrip
break; break;
} }
default: { default: {
TRACE_(dmfile)(": unknown chunk (irrevelant & skipping)\n"); TRACE_(dmfile)(": unknown chunk (irrelevant & skipping)\n");
if (even_or_odd(Chunk.dwSize)) { if (even_or_odd(Chunk.dwSize)) {
ListCount[0] ++; ListCount[0] ++;
Chunk.dwSize++; Chunk.dwSize++;
...@@ -360,7 +360,7 @@ static HRESULT WINAPI IDirectMusicCollectionImpl_IDirectMusicObject_ParseDescrip ...@@ -360,7 +360,7 @@ static HRESULT WINAPI IDirectMusicCollectionImpl_IDirectMusicObject_ParseDescrip
break; break;
} }
default: { default: {
TRACE_(dmfile)(": unknown chunk (irrevelant & skipping)\n"); TRACE_(dmfile)(": unknown chunk (irrelevant & skipping)\n");
liMove.QuadPart = Chunk.dwSize; liMove.QuadPart = Chunk.dwSize;
IStream_Seek (pStream, liMove, STREAM_SEEK_CUR, NULL); IStream_Seek (pStream, liMove, STREAM_SEEK_CUR, NULL);
break; break;
...@@ -549,7 +549,7 @@ static HRESULT WINAPI IDirectMusicCollectionImpl_IPersistStream_Load (LPPERSISTS ...@@ -549,7 +549,7 @@ static HRESULT WINAPI IDirectMusicCollectionImpl_IPersistStream_Load (LPPERSISTS
break; break;
} }
default: { default: {
TRACE_(dmfile)(": unknown chunk (irrevelant & skipping)\n"); TRACE_(dmfile)(": unknown chunk (irrelevant & skipping)\n");
if (even_or_odd(Chunk.dwSize)) { if (even_or_odd(Chunk.dwSize)) {
ListCount[0] ++; ListCount[0] ++;
Chunk.dwSize++; Chunk.dwSize++;
...@@ -628,7 +628,7 @@ static HRESULT WINAPI IDirectMusicCollectionImpl_IPersistStream_Load (LPPERSISTS ...@@ -628,7 +628,7 @@ static HRESULT WINAPI IDirectMusicCollectionImpl_IPersistStream_Load (LPPERSISTS
break; break;
} }
default: { default: {
TRACE_(dmfile)(": unknown chunk (irrevelant & skipping)\n"); TRACE_(dmfile)(": unknown chunk (irrelevant & skipping)\n");
liMove.QuadPart = Chunk.dwSize; liMove.QuadPart = Chunk.dwSize;
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL); IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
break; break;
...@@ -657,7 +657,7 @@ static HRESULT WINAPI IDirectMusicCollectionImpl_IPersistStream_Load (LPPERSISTS ...@@ -657,7 +657,7 @@ static HRESULT WINAPI IDirectMusicCollectionImpl_IPersistStream_Load (LPPERSISTS
break; break;
} }
default: { default: {
TRACE_(dmfile)(": unknown chunk (irrevelant & skipping)\n"); TRACE_(dmfile)(": unknown chunk (irrelevant & skipping)\n");
liMove.QuadPart = Chunk.dwSize; liMove.QuadPart = Chunk.dwSize;
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL); IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
break; break;
...@@ -677,7 +677,7 @@ static HRESULT WINAPI IDirectMusicCollectionImpl_IPersistStream_Load (LPPERSISTS ...@@ -677,7 +677,7 @@ static HRESULT WINAPI IDirectMusicCollectionImpl_IPersistStream_Load (LPPERSISTS
break; break;
} }
default: { default: {
TRACE_(dmfile)(": unknown chunk (irrevelant & skipping)\n"); TRACE_(dmfile)(": unknown chunk (irrelevant & skipping)\n");
liMove.QuadPart = Chunk.dwSize; liMove.QuadPart = Chunk.dwSize;
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL); IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
break; break;
......
...@@ -258,7 +258,7 @@ HRESULT WINAPI IDirectMusicInstrumentImpl_Custom_Load (LPDIRECTMUSICINSTRUMENT i ...@@ -258,7 +258,7 @@ HRESULT WINAPI IDirectMusicInstrumentImpl_Custom_Load (LPDIRECTMUSICINSTRUMENT i
break; break;
} }
default: { default: {
TRACE_(dmfile)(": unknown chunk (irrevelant & skipping)\n"); TRACE_(dmfile)(": unknown chunk (irrelevant & skipping)\n");
liMove.QuadPart = Chunk.dwSize; liMove.QuadPart = Chunk.dwSize;
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL); IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
break; break;
...@@ -289,7 +289,7 @@ HRESULT WINAPI IDirectMusicInstrumentImpl_Custom_Load (LPDIRECTMUSICINSTRUMENT i ...@@ -289,7 +289,7 @@ HRESULT WINAPI IDirectMusicInstrumentImpl_Custom_Load (LPDIRECTMUSICINSTRUMENT i
break; break;
} }
default: { default: {
TRACE_(dmfile)(": unknown chunk (irrevelant & skipping)\n"); TRACE_(dmfile)(": unknown chunk (irrelevant & skipping)\n");
liMove.QuadPart = Chunk.dwSize; liMove.QuadPart = Chunk.dwSize;
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL); IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
break; break;
...@@ -360,7 +360,7 @@ HRESULT WINAPI IDirectMusicInstrumentImpl_Custom_Load (LPDIRECTMUSICINSTRUMENT i ...@@ -360,7 +360,7 @@ HRESULT WINAPI IDirectMusicInstrumentImpl_Custom_Load (LPDIRECTMUSICINSTRUMENT i
break; break;
} }
default: { default: {
TRACE_(dmfile)(": unknown chunk (irrevelant & skipping)\n"); TRACE_(dmfile)(": unknown chunk (irrelevant & skipping)\n");
if (even_or_odd(Chunk.dwSize)) { if (even_or_odd(Chunk.dwSize)) {
ListCount[1] ++; ListCount[1] ++;
Chunk.dwSize++; Chunk.dwSize++;
...@@ -385,7 +385,7 @@ HRESULT WINAPI IDirectMusicInstrumentImpl_Custom_Load (LPDIRECTMUSICINSTRUMENT i ...@@ -385,7 +385,7 @@ HRESULT WINAPI IDirectMusicInstrumentImpl_Custom_Load (LPDIRECTMUSICINSTRUMENT i
break; break;
} }
default: { default: {
TRACE_(dmfile)(": unknown chunk (irrevelant & skipping)\n"); TRACE_(dmfile)(": unknown chunk (irrelevant & skipping)\n");
liMove.QuadPart = Chunk.dwSize; liMove.QuadPart = Chunk.dwSize;
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL); IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
break; break;
...@@ -396,7 +396,7 @@ HRESULT WINAPI IDirectMusicInstrumentImpl_Custom_Load (LPDIRECTMUSICINSTRUMENT i ...@@ -396,7 +396,7 @@ HRESULT WINAPI IDirectMusicInstrumentImpl_Custom_Load (LPDIRECTMUSICINSTRUMENT i
break; break;
} }
default: { default: {
TRACE_(dmfile)(": unknown chunk (irrevelant & skipping)\n"); TRACE_(dmfile)(": unknown chunk (irrelevant & skipping)\n");
liMove.QuadPart = Chunk.dwSize; liMove.QuadPart = Chunk.dwSize;
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL); IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
break; break;
......
...@@ -47,9 +47,9 @@ ...@@ -47,9 +47,9 @@
* - Handles need to be correctly reference counted * - Handles need to be correctly reference counted
* - Check if we need to deallocate any list objects when destroying * - Check if we need to deallocate any list objects when destroying
* a dplay interface * a dplay interface
* - RunApplication process spawning needs to have correct syncronization. * - RunApplication process spawning needs to have correct synchronization.
* - Need to get inter lobby messages working. * - Need to get inter lobby messages working.
* - Decypher dplay messages between applications and implement... * - Decipher dplay messages between applications and implement...
* - Need to implement lobby session spawning. * - Need to implement lobby session spawning.
* - Improve footprint and realtime blocking by setting up a separate data share * - Improve footprint and realtime blocking by setting up a separate data share
* between lobby application and client since there can be multiple apps per * between lobby application and client since there can be multiple apps per
......
...@@ -620,7 +620,7 @@ static HRESULT WINAPI IDirectSoundBufferImpl_SetCurrentPosition( ...@@ -620,7 +620,7 @@ static HRESULT WINAPI IDirectSoundBufferImpl_SetCurrentPosition(
This->sec_mixpos = newpos; This->sec_mixpos = newpos;
/* at this point, do not attempt to reset buffers, mess with primary mix position, /* at this point, do not attempt to reset buffers, mess with primary mix position,
or anything like that to reduce latancy. The data already prebuffered cannot be changed */ or anything like that to reduce latency. The data already prebuffered cannot be changed */
/* position HW buffer if applicable, else just start mixing from new location instead */ /* position HW buffer if applicable, else just start mixing from new location instead */
if (This->hwbuf) { if (This->hwbuf) {
......
...@@ -471,7 +471,7 @@ static HRESULT WINAPI IDirectMusicWaveImpl_IDirectMusicObject_ParseDescriptor (L ...@@ -471,7 +471,7 @@ static HRESULT WINAPI IDirectMusicWaveImpl_IDirectMusicObject_ParseDescriptor (L
break; break;
} }
default: { default: {
TRACE_(dmfile)(": unknown chunk (irrevelant & skipping)\n"); TRACE_(dmfile)(": unknown chunk (irrelevant & skipping)\n");
liMove.QuadPart = Chunk.dwSize; liMove.QuadPart = Chunk.dwSize;
IStream_Seek (pStream, liMove, STREAM_SEEK_CUR, NULL); IStream_Seek (pStream, liMove, STREAM_SEEK_CUR, NULL);
break; break;
...@@ -491,7 +491,7 @@ static HRESULT WINAPI IDirectMusicWaveImpl_IDirectMusicObject_ParseDescriptor (L ...@@ -491,7 +491,7 @@ static HRESULT WINAPI IDirectMusicWaveImpl_IDirectMusicObject_ParseDescriptor (L
break; break;
} }
default: { default: {
TRACE_(dmfile)(": unknown chunk (irrevelant & skipping)\n"); TRACE_(dmfile)(": unknown chunk (irrelevant & skipping)\n");
liMove.QuadPart = Chunk.dwSize; liMove.QuadPart = Chunk.dwSize;
IStream_Seek (pStream, liMove, STREAM_SEEK_CUR, NULL); IStream_Seek (pStream, liMove, STREAM_SEEK_CUR, NULL);
break; break;
...@@ -653,7 +653,7 @@ static HRESULT WINAPI IDirectMusicWaveImpl_IPersistStream_Load (LPPERSISTSTREAM ...@@ -653,7 +653,7 @@ static HRESULT WINAPI IDirectMusicWaveImpl_IPersistStream_Load (LPPERSISTSTREAM
break; break;
} }
default: { default: {
TRACE_(dmfile)(": unknown chunk (irrevelant & skipping)\n"); TRACE_(dmfile)(": unknown chunk (irrelevant & skipping)\n");
liMove.QuadPart = Chunk.dwSize; liMove.QuadPart = Chunk.dwSize;
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL); IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
break; break;
...@@ -673,7 +673,7 @@ static HRESULT WINAPI IDirectMusicWaveImpl_IPersistStream_Load (LPPERSISTSTREAM ...@@ -673,7 +673,7 @@ static HRESULT WINAPI IDirectMusicWaveImpl_IPersistStream_Load (LPPERSISTSTREAM
break; break;
} }
default: { default: {
TRACE_(dmfile)(": unknown chunk (irrevelant & skipping)\n"); TRACE_(dmfile)(": unknown chunk (irrelevant & skipping)\n");
liMove.QuadPart = Chunk.dwSize; liMove.QuadPart = Chunk.dwSize;
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL); IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
break; break;
......
...@@ -635,7 +635,7 @@ static HRESULT GAMEUX_loadGameStatistics(struct GAMEUX_STATS *pStats, ...@@ -635,7 +635,7 @@ static HRESULT GAMEUX_loadGameStatistics(struct GAMEUX_STATS *pStats,
} }
else if(hr == S_FALSE && openType == GAMESTATS_OPEN_OPENORCREATE) /* file does not exist */ else if(hr == S_FALSE && openType == GAMESTATS_OPEN_OPENORCREATE) /* file does not exist */
{ {
/* create new statitics, not yet connected with file */ /* create new statistics, not yet connected with file */
ZeroMemory(pStats->categories, sizeof(pStats->categories)); ZeroMemory(pStats->categories, sizeof(pStats->categories));
*pOpenResult = GAMESTATS_OPEN_CREATED; *pOpenResult = GAMESTATS_OPEN_CREATED;
hr = S_OK; hr = S_OK;
......
...@@ -26,7 +26,7 @@ extern HRESULT GameStatistics_create(IUnknown* pUnkOuter, IUnknown **ppObj) DECL ...@@ -26,7 +26,7 @@ extern HRESULT GameStatistics_create(IUnknown* pUnkOuter, IUnknown **ppObj) DECL
* *
* These are helper function and structures, which are used widely in gameux * These are helper function and structures, which are used widely in gameux
* implementation. Details about usage and place of implementation is * implementation. Details about usage and place of implementation is
* in description of each function/strucutre. * in description of each function/structure.
*/ */
/******************************************************************************* /*******************************************************************************
......
...@@ -329,9 +329,9 @@ HBRUSH WINAPI CreateSolidBrush( COLORREF color ) ...@@ -329,9 +329,9 @@ HBRUSH WINAPI CreateSolidBrush( COLORREF color )
* Set the brush origin for a device context. * Set the brush origin for a device context.
* *
* PARAMS * PARAMS
* hdc [I] Device context to set the brush origin for * hdc [I] Device context to set the brush origin for
* x [I] New x origin * x [I] New x origin
* y [I] Ney y origin * y [I] New y origin
* oldorg [O] If non NULL, destination for previously set brush origin. * oldorg [O] If non NULL, destination for previously set brush origin.
* *
* RETURNS * RETURNS
......
...@@ -5249,7 +5249,7 @@ DWORD WineEngGetGlyphOutline(GdiFont *incoming_font, UINT glyph, UINT format, ...@@ -5249,7 +5249,7 @@ DWORD WineEngGetGlyphOutline(GdiFont *incoming_font, UINT glyph, UINT format,
r2 = r1 + (c + b)/3 r2 = r1 + (c + b)/3
r3 = r0 + c + b + a r3 = r0 + c + b + a
A quadratic Beizer has the form: A quadratic Bezier has the form:
p(t) = (1-t)^2 p0 + 2(1-t)t p1 + t^2 p2 p(t) = (1-t)^2 p0 + 2(1-t)t p1 + t^2 p2
So equating powers of t leads to: So equating powers of t leads to:
......
...@@ -101,7 +101,7 @@ typedef struct ...@@ -101,7 +101,7 @@ typedef struct
typedef struct typedef struct
{ {
DWORD count; DWORD count;
DWORD dashes[16]; /* 16 is the maximium number for a PS_USERSTYLE pen */ DWORD dashes[16]; /* 16 is the maximum number for a PS_USERSTYLE pen */
DWORD total_len; /* total length of the dashes, should be multiplied by 2 if there are an odd number of dash lengths */ DWORD total_len; /* total length of the dashes, should be multiplied by 2 if there are an odd number of dash lengths */
} dash_pattern; } dash_pattern;
......
/* /*
* GDI region objects. Shamelessly ripped out from the X11 distribution * GDI region objects. Shamelessly ripped out from the X11 distribution
* Thanks for the nice licence. * Thanks for the nice license.
* *
* Copyright 1993, 1994, 1995 Alexandre Julliard * Copyright 1993, 1994, 1995 Alexandre Julliard
* Modifications and additions: Copyright 1998 Huw Davies * Modifications and additions: Copyright 1998 Huw Davies
......
...@@ -301,7 +301,7 @@ static inline UINT get_palette_index(BYTE r, BYTE g, BYTE b, BYTE a, GpBitmap* b ...@@ -301,7 +301,7 @@ static inline UINT get_palette_index(BYTE r, BYTE g, BYTE b, BYTE a, GpBitmap* b
int best_distance = 0x7fff; int best_distance = 0x7fff;
int distance; int distance;
int i; int i;
/* This algorithm scans entire pallete, /* This algorithm scans entire palette,
computes difference from desired color (all color components have equal weight) computes difference from desired color (all color components have equal weight)
and returns the index of color with least difference. and returns the index of color with least difference.
......
...@@ -560,7 +560,7 @@ static BOOL try_application_url(LPCWSTR url) ...@@ -560,7 +560,7 @@ static BOOL try_application_url(LPCWSTR url)
if(res != ERROR_SUCCESS || type != REG_SZ) if(res != ERROR_SUCCESS || type != REG_SZ)
return FALSE; return FALSE;
TRACE("openning application %s\n", debugstr_w(app)); TRACE("opening application %s\n", debugstr_w(app));
memset(&exec_info, 0, sizeof(exec_info)); memset(&exec_info, 0, sizeof(exec_info));
exec_info.cbSize = sizeof(exec_info); exec_info.cbSize = sizeof(exec_info);
...@@ -701,7 +701,7 @@ static void doc_navigate_proc(DocHost *This, task_header_t *t) ...@@ -701,7 +701,7 @@ static void doc_navigate_proc(DocHost *This, task_header_t *t)
VARIANT_BOOL cancel = VARIANT_FALSE; VARIANT_BOOL cancel = VARIANT_FALSE;
on_before_navigate2(This, task->url, task->post_data, task->headers, &cancel); on_before_navigate2(This, task->url, task->post_data, task->headers, &cancel);
if(cancel) { if(cancel) {
TRACE("Navigation calnceled\n"); TRACE("Navigation canceled\n");
return; return;
} }
} }
......
...@@ -161,7 +161,7 @@ static void init_wfx_ima_adpcm(IMAADPCMWAVEFORMAT* awfx/*, DWORD nba*/) ...@@ -161,7 +161,7 @@ static void init_wfx_ima_adpcm(IMAADPCMWAVEFORMAT* awfx/*, DWORD nba*/)
/*********************************************************************** /***********************************************************************
* R16 * R16
* *
* Read a 16 bit sample (correctly handles endianess) * Read a 16 bit sample (correctly handles endianness)
*/ */
static inline short R16(const unsigned char* src) static inline short R16(const unsigned char* src)
{ {
...@@ -171,7 +171,7 @@ static inline short R16(const unsigned char* src) ...@@ -171,7 +171,7 @@ static inline short R16(const unsigned char* src)
/*********************************************************************** /***********************************************************************
* W16 * W16
* *
* Write a 16 bit sample (correctly handles endianess) * Write a 16 bit sample (correctly handles endianness)
*/ */
static inline void W16(unsigned char* dst, short s) static inline void W16(unsigned char* dst, short s)
{ {
......
...@@ -744,7 +744,7 @@ static BOOL IMAGEHLP_ReportImportSection( IMAGE_SECTION_HEADER *hdr, ...@@ -744,7 +744,7 @@ static BOOL IMAGEHLP_ReportImportSection( IMAGE_SECTION_HEADER *hdr,
/*********************************************************************** /***********************************************************************
* ImageGetDigestStream (IMAGEHLP.@) * ImageGetDigestStream (IMAGEHLP.@)
* *
* Gets a stream of bytes from a PE file overwhich a hash might be computed to * Gets a stream of bytes from a PE file over which a hash might be computed to
* verify that the image has not changed. Useful for creating a certificate to * verify that the image has not changed. Useful for creating a certificate to
* be added to the file with ImageAddCertificate. * be added to the file with ImageAddCertificate.
* *
......
...@@ -3527,7 +3527,7 @@ static INT index_from_var(script_ctx_t *ctx, VARIANT *v) ...@@ -3527,7 +3527,7 @@ static INT index_from_var(script_ctx_t *ctx, VARIANT *v)
memset(&ei, 0, sizeof(ei)); memset(&ei, 0, sizeof(ei));
hres = to_number(ctx, v, &ei, &num); hres = to_number(ctx, v, &ei, &num);
if(FAILED(hres)) { /* FIXME: Move ignoring exceptions to to_promitive */ if(FAILED(hres)) { /* FIXME: Move ignoring exceptions to to_primitive */
VariantClear(&ei.var); VariantClear(&ei.var);
return 0; return 0;
} }
......
...@@ -202,8 +202,8 @@ static BOOL put_console_into_raw_mode(int fd) ...@@ -202,8 +202,8 @@ static BOOL put_console_into_raw_mode(int fd)
} }
/* put back the console in cooked mode iff we're the process which created the bare console /* put back the console in cooked mode iff we're the process which created the bare console
* we don't test if thie process has set the console in raw mode as it could be one of its * we don't test if this process has set the console in raw mode as it could be one of its
* child who did it * children who did it
*/ */
static BOOL restore_console_mode(HANDLE hin) static BOOL restore_console_mode(HANDLE hin)
{ {
......
...@@ -294,7 +294,7 @@ void WINAPI OutputDebugStringA( LPCSTR str ) ...@@ -294,7 +294,7 @@ void WINAPI OutputDebugStringA( LPCSTR str )
if (buffer && eventbuffer && eventdata) if (buffer && eventbuffer && eventdata)
{ {
/* monitor is present, synchronize with other OutputDebugString invokations */ /* monitor is present, synchronize with other OutputDebugString invocations */
WaitForSingleObject( DBWinMutex, INFINITE ); WaitForSingleObject( DBWinMutex, INFINITE );
/* acquire control over the buffer */ /* acquire control over the buffer */
......
...@@ -721,7 +721,7 @@ static INT NLS_GetDateTimeFormatW(LCID lcid, DWORD dwFlags, ...@@ -721,7 +721,7 @@ static INT NLS_GetDateTimeFormatW(LCID lcid, DWORD dwFlags,
} }
cchWritten++; /* Include terminating NUL */ cchWritten++; /* Include terminating NUL */
TRACE("returning length=%d, ouput=%s\n", cchWritten, debugstr_w(lpStr)); TRACE("returning length=%d, output=%s\n", cchWritten, debugstr_w(lpStr));
return cchWritten; return cchWritten;
overrun: overrun:
......
...@@ -1650,7 +1650,7 @@ BOOL WINAPI IsDBCSLeadByteEx( UINT codepage, BYTE testchar ) ...@@ -1650,7 +1650,7 @@ BOOL WINAPI IsDBCSLeadByteEx( UINT codepage, BYTE testchar )
* testchar [I] Character to test * testchar [I] Character to test
* *
* RETURNS * RETURNS
* TRUE, if testchar is a lead byte in the Ansii code page, * TRUE, if testchar is a lead byte in the ANSI code page,
* FALSE otherwise. * FALSE otherwise.
*/ */
BOOL WINAPI IsDBCSLeadByte( BYTE testchar ) BOOL WINAPI IsDBCSLeadByte( BYTE testchar )
......
...@@ -144,7 +144,7 @@ static INT read_header(HFILE fd,struct lzfileheader *head) ...@@ -144,7 +144,7 @@ static INT read_header(HFILE fd,struct lzfileheader *head)
memcpy(&(head->compressiontype),buf+LZ_MAGIC_LEN,1); memcpy(&(head->compressiontype),buf+LZ_MAGIC_LEN,1);
memcpy(&(head->lastchar),buf+LZ_MAGIC_LEN+1,1); memcpy(&(head->lastchar),buf+LZ_MAGIC_LEN+1,1);
/* FIXME: consider endianess on non-intel architectures */ /* FIXME: consider endianness on non-intel architectures */
memcpy(&(head->reallength),buf+LZ_MAGIC_LEN+2,4); memcpy(&(head->reallength),buf+LZ_MAGIC_LEN+2,4);
if (memcmp(head->magic,LZMagic,LZ_MAGIC_LEN)) if (memcmp(head->magic,LZMagic,LZ_MAGIC_LEN))
......
...@@ -93,7 +93,7 @@ static DWORD copy_filename_WtoA( LPCWSTR nameW, LPSTR buffer, DWORD len ) ...@@ -93,7 +93,7 @@ static DWORD copy_filename_WtoA( LPCWSTR nameW, LPSTR buffer, DWORD len )
* checks if there are some files to be removed or renamed/moved. * checks if there are some files to be removed or renamed/moved.
* <fn1> has to be valid and <fn2> may be NULL. If both pointers are * <fn1> has to be valid and <fn2> may be NULL. If both pointers are
* non-NULL then the file is moved, otherwise it is deleted. The * non-NULL then the file is moved, otherwise it is deleted. The
* entry of the registrykey is always appended with two zero * entry of the registry key is always appended with two zero
* terminated strings. If <fn2> is NULL then the second entry is * terminated strings. If <fn2> is NULL then the second entry is
* simply a single 0-byte. Otherwise the second filename goes * simply a single 0-byte. Otherwise the second filename goes
* there. The entries are prepended with \??\ before the path and the * there. The entries are prepended with \??\ before the path and the
......
...@@ -64,7 +64,7 @@ DOSASPI_PostProc( SRB_ExecSCSICmd *lpPRB ) ...@@ -64,7 +64,7 @@ DOSASPI_PostProc( SRB_ExecSCSICmd *lpPRB )
{ {
CONTEXT ctx; CONTEXT ctx;
/* The stack should look like this on entry to proc /* The stack should look like this on entry to proc
* NOTE: the SDK draws the following diagram bass akwards, use this one * NOTE: the SDK draws the following diagram bass awkwardly, use this one
* to avoid being confused. Remember, the act of pushing something on * to avoid being confused. Remember, the act of pushing something on
* an intel stack involves decreasing the stack pointer by the size of * an intel stack involves decreasing the stack pointer by the size of
* the data, and then copying the data at the new SP. * the data, and then copying the data at the new SP.
......
...@@ -235,7 +235,7 @@ static WORD get_timer_val(unsigned timer) ...@@ -235,7 +235,7 @@ static WORD get_timer_val(unsigned timer)
/* This is not strictly correct. In most cases the old countdown should /* This is not strictly correct. In most cases the old countdown should
* finish normally (by counting down to 0) or halt and not jump to 0. * finish normally (by counting down to 0) or halt and not jump to 0.
* But we are calculating and not countig, so this seems to be a good * But we are calculating and not counting, so this seems to be a good
* solution and should work well with most (all?) programs * solution and should work well with most (all?) programs
*/ */
if (tmr_8253[timer].flags & TMR_UPDATE) if (tmr_8253[timer].flags & TMR_UPDATE)
...@@ -648,7 +648,7 @@ static int IO_pp_do_access(int idx,int ppctl, DWORD* res) ...@@ -648,7 +648,7 @@ static int IO_pp_do_access(int idx,int ppctl, DWORD* res)
/* IO_pp_inp /* IO_pp_inp
* *
* Check if we can satisfy the INP command with some of the configured PPDEV deviced * Check if we can satisfy the INP command with some of the configured PPDEV device
* Return NULL on success * Return NULL on success
*/ */
static int IO_pp_inp(int port, DWORD* res) static int IO_pp_inp(int port, DWORD* res)
...@@ -684,7 +684,7 @@ static int IO_pp_inp(int port, DWORD* res) ...@@ -684,7 +684,7 @@ static int IO_pp_inp(int port, DWORD* res)
/* IO_pp_outp /* IO_pp_outp
* *
* Check if we can satisfy the OUTP command with some of the configured PPDEV deviced * Check if we can satisfy the OUTP command with some of the configured PPDEV device
* Return NULL on success * Return NULL on success
*/ */
static BOOL IO_pp_outp(int port, DWORD* res) static BOOL IO_pp_outp(int port, DWORD* res)
......
...@@ -193,7 +193,7 @@ static void SB_Reset(void) ...@@ -193,7 +193,7 @@ static void SB_Reset(void)
/* Generic DAC/ADC DMA (16-bit, 8-bit) */ /* Generic DAC/ADC DMA (16-bit, 8-bit) */
for(i=0xB0;i<=0xCF;i++) for(i=0xB0;i<=0xCF;i++)
DSP_Command[i]=3; DSP_Command[i]=3;
/* DSP Indentification */ /* DSP Identification */
DSP_Command[0xE0]=1; DSP_Command[0xE0]=1;
/* Clear command and input buffer */ /* Clear command and input buffer */
......
...@@ -705,7 +705,8 @@ VOID WINAPI FreeProws(LPSRowSet lpRowSet) ...@@ -705,7 +705,8 @@ VOID WINAPI FreeProws(LPSRowSet lpRowSet)
* pcBytes [O] If non-NULL, destination for the size of the property array * pcBytes [O] If non-NULL, destination for the size of the property array
* *
* RETURNS * RETURNS
* Success: S_OK. If pcBytes is non-NULL, it contains the size of the propery array. * Success: S_OK. If pcBytes is non-NULL, it contains the size of the
* properties array.
* Failure: MAPI_E_INVALID_PARAMETER, if any parameter is invalid or validation * Failure: MAPI_E_INVALID_PARAMETER, if any parameter is invalid or validation
* of the property array fails. * of the property array fails.
*/ */
...@@ -1425,7 +1426,7 @@ static IPropDataItem *IMAPIPROP_GetValue(IPropDataImpl *This, ULONG ulPropTag) ...@@ -1425,7 +1426,7 @@ static IPropDataItem *IMAPIPROP_GetValue(IPropDataImpl *This, ULONG ulPropTag)
LIST_FOR_EACH(cursor, &This->values) LIST_FOR_EACH(cursor, &This->values)
{ {
LPIPropDataItem current = LIST_ENTRY(cursor, IPropDataItem, entry); LPIPropDataItem current = LIST_ENTRY(cursor, IPropDataItem, entry);
/* Note that propery types don't have to match, just Id's */ /* Note that property types don't have to match, just Id's */
if (PROP_ID(current->value->ulPropTag) == PROP_ID(ulPropTag)) if (PROP_ID(current->value->ulPropTag) == PROP_ID(ulPropTag))
return current; return current;
} }
......
...@@ -335,7 +335,7 @@ static DWORD wodWrite(WAVEMAPDATA* wom, LPWAVEHDR lpWaveHdrSrc, DWORD dwParam2) ...@@ -335,7 +335,7 @@ static DWORD wodWrite(WAVEMAPDATA* wom, LPWAVEHDR lpWaveHdrSrc, DWORD dwParam2)
if (ash->cbSrcLength > ash->cbSrcLengthUsed) if (ash->cbSrcLength > ash->cbSrcLengthUsed)
FIXME("Not all src buffer has been written, expect bogus sound\n"); FIXME("Not all src buffer has been written, expect bogus sound\n");
else if (ash->cbSrcLength < ash->cbSrcLengthUsed) else if (ash->cbSrcLength < ash->cbSrcLengthUsed)
ERR("CoDec has read more data than it is allowed to\n"); ERR("Codec has read more data than it is allowed to\n");
if (ash->cbDstLengthUsed == 0) { if (ash->cbDstLengthUsed == 0) {
/* something went wrong in decoding */ /* something went wrong in decoding */
......
...@@ -155,7 +155,7 @@ static inline unsigned char C168(short s) ...@@ -155,7 +155,7 @@ static inline unsigned char C168(short s)
/*********************************************************************** /***********************************************************************
* R16 * R16
* *
* Read a 16 bit sample (correctly handles endianess) * Read a 16 bit sample (correctly handles endianness)
*/ */
static inline short R16(const unsigned char* src) static inline short R16(const unsigned char* src)
{ {
...@@ -165,7 +165,7 @@ static inline short R16(const unsigned char* src) ...@@ -165,7 +165,7 @@ static inline short R16(const unsigned char* src)
/*********************************************************************** /***********************************************************************
* W16 * W16
* *
* Write a 16 bit sample (correctly handles endianess) * Write a 16 bit sample (correctly handles endianness)
*/ */
static inline void W16(unsigned char* dst, short s) static inline void W16(unsigned char* dst, short s)
{ {
......
...@@ -180,7 +180,7 @@ static void init_wfx_adpcm(ADPCMWAVEFORMAT* awfx) ...@@ -180,7 +180,7 @@ static void init_wfx_adpcm(ADPCMWAVEFORMAT* awfx)
/*********************************************************************** /***********************************************************************
* R16 * R16
* *
* Read a 16 bit sample (correctly handles endianess) * Read a 16 bit sample (correctly handles endianness)
*/ */
static inline short R16(const unsigned char* src) static inline short R16(const unsigned char* src)
{ {
...@@ -190,7 +190,7 @@ static inline short R16(const unsigned char* src) ...@@ -190,7 +190,7 @@ static inline short R16(const unsigned char* src)
/*********************************************************************** /***********************************************************************
* W16 * W16
* *
* Write a 16 bit sample (correctly handles endianess) * Write a 16 bit sample (correctly handles endianness)
*/ */
static inline void W16(unsigned char* dst, short s) static inline void W16(unsigned char* dst, short s)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment