From 2166afceb77c371c4390b29888d375be9ebd4e90 Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Sun, 28 Dec 2008 10:34:07 +0100 Subject: [PATCH] Assorted spelling fixes. --- dlls/d3dxof/tests/d3dxof.c | 2 +- dlls/dmloader/loader.c | 8 ++++---- dlls/shdocvw/tests/shdocvw.c | 4 ++-- dlls/winealsa.drv/midi.c | 2 +- dlls/wined3d/arb_program_shader.c | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/dlls/d3dxof/tests/d3dxof.c b/dlls/d3dxof/tests/d3dxof.c index 12df0c673f0..4e74f1afc9e 100644 --- a/dlls/d3dxof/tests/d3dxof.c +++ b/dlls/d3dxof/tests/d3dxof.c @@ -137,7 +137,7 @@ static void test_refcount(void) ok(ref == 0, "Got refcount %ld, expected 0\n", ref); } -/* Set it to 1 to expand the string when dumping the object. This is usefull when there is +/* Set it to 1 to expand the string when dumping the object. This is useful when there is * only one string in a sub-object (very common). Use with care, this may lead to a crash. */ #define EXPAND_STRING 0 diff --git a/dlls/dmloader/loader.c b/dlls/dmloader/loader.c index 059760a18f0..8a31b62e7ef 100644 --- a/dlls/dmloader/loader.c +++ b/dlls/dmloader/loader.c @@ -212,10 +212,10 @@ static HRESULT WINAPI IDirectMusicLoaderImpl_IDirectMusicLoader_GetObject (LPDIR else we use info we were given */ if (pObjectEntry) { TRACE(": found alias entry for requested object... using stored info\n"); - /* I think in certain cases it can happen that entry's descriptor lacks info + /* I think in certain cases it can happen that entry's descriptor lacks info about where to load from (e.g.: if we loaded from stream and then released object - from cache; then only it's CLSID, GUID and perhaps name are left); so just - overwrite info entry has (since it ought to be 100% correct) */ + from cache; then only its CLSID, GUID and perhaps name are left); so just + overwrite whatever info the entry has (since it ought to be 100% correct) */ DMUSIC_CopyDescriptor (pDesc, &pObjectEntry->Desc); /*pDesc = &pObjectEntry->Desc; */ /* FIXME: is this OK? */ } else { @@ -476,7 +476,7 @@ static HRESULT WINAPI IDirectMusicLoaderImpl_IDirectMusicLoader_SetObject (LPDIR LIST_FOR_EACH (pEntry, This->pObjects) { pObjectEntry = LIST_ENTRY (pEntry, WINE_LOADER_ENTRY, entry); if (!memcmp (&pObjectEntry->Desc, pDesc, sizeof(DMUS_OBJECTDESC))) { - TRACE(": exacly same entry already exists\n"); + TRACE(": exactly same entry already exists\n"); return S_OK; } } diff --git a/dlls/shdocvw/tests/shdocvw.c b/dlls/shdocvw/tests/shdocvw.c index 64a4ca79a6d..963b9a855fe 100644 --- a/dlls/shdocvw/tests/shdocvw.c +++ b/dlls/shdocvw/tests/shdocvw.c @@ -241,7 +241,7 @@ static void test_ParseURLFromOutsideSourceA(void) len = maxlen; dummy = 0; res = pParseURLFromOutsideSourceA(ParseURL_table[i].url, buffer, &len, &dummy); - /* len includes the terminating 0, when the buffer is to small */ + /* len includes the terminating 0, when the buffer is too small */ ok( res == 0 && len == ParseURL_table[i].len + 1, "#%d (==): got %d and %d (expected '0' and %d)\n", i, res, len, ParseURL_table[i].len + 1); @@ -333,7 +333,7 @@ static void test_ParseURLFromOutsideSourceW(void) len = maxlen; dummy = 0; res = pParseURLFromOutsideSourceW(urlW, bufferW, &len, &dummy); - /* len includes the terminating 0, when the buffer is to small */ + /* len includes the terminating 0, when the buffer is too small */ ok( res == 0 && len == ParseURL_table[0].len + 1, "==: got %d and %d (expected '0' and %d)\n", res, len, ParseURL_table[0].len + 1); diff --git a/dlls/winealsa.drv/midi.c b/dlls/winealsa.drv/midi.c index c1bcb1067a7..24a9b654547 100644 --- a/dlls/winealsa.drv/midi.c +++ b/dlls/winealsa.drv/midi.c @@ -388,7 +388,7 @@ static DWORD WINAPI midRecThread(LPVOID arg) len -= copylen; pos += copylen; /* We check if we reach the end of buffer or the end of sysex before notifying - * to handle the case where ALSA splitted the sysex into several events */ + * to handle the case where ALSA split the sysex into several events */ if ((lpMidiHdr->dwBytesRecorded == lpMidiHdr->dwBufferLength) || (*(BYTE*)(lpMidiHdr->lpData + lpMidiHdr->dwBytesRecorded - 1) == 0xF7)) { lpMidiHdr->dwFlags &= ~MHDR_INQUEUE; diff --git a/dlls/wined3d/arb_program_shader.c b/dlls/wined3d/arb_program_shader.c index ca6ca583da2..d55e76edb28 100644 --- a/dlls/wined3d/arb_program_shader.c +++ b/dlls/wined3d/arb_program_shader.c @@ -314,7 +314,7 @@ static void shader_generate_arb_declarations(IWineD3DBaseShader *iface, const sh FIXME("No free constant to load the luminance parameters\n"); } } else { - FIXME("No free constant found to load environemnt bump mapping matrix into the shader. texbem instruction will not apply bump mapping\n"); + FIXME("No free constant found to load environment bump mapping matrix into the shader. texbem instruction will not apply bump mapping\n"); } ps->numbumpenvmatconsts = cur + 1;