Commit 2166afce authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

Assorted spelling fixes.

parent da1a3529
...@@ -137,7 +137,7 @@ static void test_refcount(void) ...@@ -137,7 +137,7 @@ static void test_refcount(void)
ok(ref == 0, "Got refcount %ld, expected 0\n", ref); 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. */ * only one string in a sub-object (very common). Use with care, this may lead to a crash. */
#define EXPAND_STRING 0 #define EXPAND_STRING 0
......
...@@ -212,10 +212,10 @@ static HRESULT WINAPI IDirectMusicLoaderImpl_IDirectMusicLoader_GetObject (LPDIR ...@@ -212,10 +212,10 @@ static HRESULT WINAPI IDirectMusicLoaderImpl_IDirectMusicLoader_GetObject (LPDIR
else we use info we were given */ else we use info we were given */
if (pObjectEntry) { if (pObjectEntry) {
TRACE(": found alias entry for requested object... using stored info\n"); 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 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 from cache; then only its CLSID, GUID and perhaps name are left); so just
overwrite info entry has (since it ought to be 100% correct) */ overwrite whatever info the entry has (since it ought to be 100% correct) */
DMUSIC_CopyDescriptor (pDesc, &pObjectEntry->Desc); DMUSIC_CopyDescriptor (pDesc, &pObjectEntry->Desc);
/*pDesc = &pObjectEntry->Desc; */ /* FIXME: is this OK? */ /*pDesc = &pObjectEntry->Desc; */ /* FIXME: is this OK? */
} else { } else {
...@@ -476,7 +476,7 @@ static HRESULT WINAPI IDirectMusicLoaderImpl_IDirectMusicLoader_SetObject (LPDIR ...@@ -476,7 +476,7 @@ static HRESULT WINAPI IDirectMusicLoaderImpl_IDirectMusicLoader_SetObject (LPDIR
LIST_FOR_EACH (pEntry, This->pObjects) { LIST_FOR_EACH (pEntry, This->pObjects) {
pObjectEntry = LIST_ENTRY (pEntry, WINE_LOADER_ENTRY, entry); pObjectEntry = LIST_ENTRY (pEntry, WINE_LOADER_ENTRY, entry);
if (!memcmp (&pObjectEntry->Desc, pDesc, sizeof(DMUS_OBJECTDESC))) { 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; return S_OK;
} }
} }
......
...@@ -241,7 +241,7 @@ static void test_ParseURLFromOutsideSourceA(void) ...@@ -241,7 +241,7 @@ static void test_ParseURLFromOutsideSourceA(void)
len = maxlen; len = maxlen;
dummy = 0; dummy = 0;
res = pParseURLFromOutsideSourceA(ParseURL_table[i].url, buffer, &len, &dummy); 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, ok( res == 0 && len == ParseURL_table[i].len + 1,
"#%d (==): got %d and %d (expected '0' and %d)\n", "#%d (==): got %d and %d (expected '0' and %d)\n",
i, res, len, ParseURL_table[i].len + 1); i, res, len, ParseURL_table[i].len + 1);
...@@ -333,7 +333,7 @@ static void test_ParseURLFromOutsideSourceW(void) ...@@ -333,7 +333,7 @@ static void test_ParseURLFromOutsideSourceW(void)
len = maxlen; len = maxlen;
dummy = 0; dummy = 0;
res = pParseURLFromOutsideSourceW(urlW, bufferW, &len, &dummy); 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, ok( res == 0 && len == ParseURL_table[0].len + 1,
"==: got %d and %d (expected '0' and %d)\n", "==: got %d and %d (expected '0' and %d)\n",
res, len, ParseURL_table[0].len + 1); res, len, ParseURL_table[0].len + 1);
......
...@@ -388,7 +388,7 @@ static DWORD WINAPI midRecThread(LPVOID arg) ...@@ -388,7 +388,7 @@ static DWORD WINAPI midRecThread(LPVOID arg)
len -= copylen; len -= copylen;
pos += copylen; pos += copylen;
/* We check if we reach the end of buffer or the end of sysex before notifying /* 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) || if ((lpMidiHdr->dwBytesRecorded == lpMidiHdr->dwBufferLength) ||
(*(BYTE*)(lpMidiHdr->lpData + lpMidiHdr->dwBytesRecorded - 1) == 0xF7)) { (*(BYTE*)(lpMidiHdr->lpData + lpMidiHdr->dwBytesRecorded - 1) == 0xF7)) {
lpMidiHdr->dwFlags &= ~MHDR_INQUEUE; lpMidiHdr->dwFlags &= ~MHDR_INQUEUE;
......
...@@ -314,7 +314,7 @@ static void shader_generate_arb_declarations(IWineD3DBaseShader *iface, const sh ...@@ -314,7 +314,7 @@ static void shader_generate_arb_declarations(IWineD3DBaseShader *iface, const sh
FIXME("No free constant to load the luminance parameters\n"); FIXME("No free constant to load the luminance parameters\n");
} }
} else { } 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; ps->numbumpenvmatconsts = cur + 1;
......
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