Commit f4c0524e authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

Assorted spelling and case fixes.

parent 39e11022
...@@ -5138,7 +5138,7 @@ static HIMAGELIST LISTVIEW_GetImageList(LISTVIEW_INFO *infoPtr, INT nImageList) ...@@ -5138,7 +5138,7 @@ static HIMAGELIST LISTVIEW_GetImageList(LISTVIEW_INFO *infoPtr, INT nImageList)
* *
* NOTE: * NOTE:
* This is the internal 'GetItem' interface -- it tries to * This is the internal 'GetItem' interface -- it tries to
* be smart, and avoids text copies, if possible, by modifing * be smart and avoid text copies, if possible, by modifying
* lpLVItem->pszText to point to the text string. Please note * lpLVItem->pszText to point to the text string. Please note
* that this is not always possible (e.g. OWNERDATA), so on * that this is not always possible (e.g. OWNERDATA), so on
* entry you *must* supply valid values for pszText, and cchTextMax. * entry you *must* supply valid values for pszText, and cchTextMax.
......
...@@ -9,7 +9,7 @@ BEGIN { ...@@ -9,7 +9,7 @@ BEGIN {
if (NF > 0 && length(array[1]) > 0) { if (NF > 0 && length(array[1]) > 0) {
lines++ lines++
# save the first word (or '&' seperated list of words) in the names array # save the first word (or '&' separated list of words) in the names array
if (array[2] == "&") { if (array[2] == "&") {
if (array[4] == "&") { if (array[4] == "&") {
names[lines] = array[1] " " array[2] " " array[3] " " array[4] " " array[5] names[lines] = array[1] " " array[2] " " array[3] " " array[4] " " array[5]
......
...@@ -9,7 +9,7 @@ BEGIN { ...@@ -9,7 +9,7 @@ BEGIN {
if (NF > 0 && length(array[1]) > 0) { if (NF > 0 && length(array[1]) > 0) {
lines++ lines++
# save the first word (or '&' seperated list of words) in the names array # save the first word (or '&' separated list of words) in the names array
if (array[2] == "&") { if (array[2] == "&") {
if (array[4] == "&") { if (array[4] == "&") {
names[lines] = array[1] " " array[2] " " array[3] " " array[4] " " array[5] names[lines] = array[1] " " array[2] " " array[3] " " array[4] " " array[5]
......
...@@ -727,7 +727,7 @@ UINT MSI_SetPropertyW( MSIPACKAGE *package, LPCWSTR szName, LPCWSTR szValue) ...@@ -727,7 +727,7 @@ UINT MSI_SetPropertyW( MSIPACKAGE *package, LPCWSTR szName, LPCWSTR szValue)
if (!szName) if (!szName)
return ERROR_INVALID_PARAMETER; return ERROR_INVALID_PARAMETER;
/* this one is wierd... */ /* this one is weird... */
if (!szName[0]) if (!szName[0])
return szValue ? ERROR_FUNCTION_FAILED : ERROR_SUCCESS; return szValue ? ERROR_FUNCTION_FAILED : ERROR_SUCCESS;
......
...@@ -631,7 +631,7 @@ static void test_props(void) ...@@ -631,7 +631,7 @@ static void test_props(void)
r = MsiGetProperty( hpkg, "boo", buffer, NULL ); r = MsiGetProperty( hpkg, "boo", buffer, NULL );
ok( r == ERROR_INVALID_PARAMETER, "wrong return val\n"); ok( r == ERROR_INVALID_PARAMETER, "wrong return val\n");
/* test retrieving an empty/non-existant property */ /* test retrieving an empty/nonexistent property */
sz = sizeof buffer; sz = sizeof buffer;
r = MsiGetProperty( hpkg, "boo", NULL, &sz ); r = MsiGetProperty( hpkg, "boo", NULL, &sz );
ok( r == ERROR_SUCCESS, "wrong return val\n"); ok( r == ERROR_SUCCESS, "wrong return val\n");
......
...@@ -102,7 +102,7 @@ void test_domdoc( void ) ...@@ -102,7 +102,7 @@ void test_domdoc( void )
ok( r == S_FALSE, "loadXML failed\n"); ok( r == S_FALSE, "loadXML failed\n");
ok( b == VARIANT_FALSE, "failed to load XML string\n"); ok( b == VARIANT_FALSE, "failed to load XML string\n");
/* try to load an document from an non-existent file */ /* try to load a document from a nonexistent file */
b = VARIANT_TRUE; b = VARIANT_TRUE;
str = SysAllocString( szNonExistentFile ); str = SysAllocString( szNonExistentFile );
VariantInit(&var); VariantInit(&var);
......
...@@ -1115,7 +1115,7 @@ static HRESULT WINAPI OLEPictureImpl_Load(IPersistStream* iface,IStream*pStm) { ...@@ -1115,7 +1115,7 @@ static HRESULT WINAPI OLEPictureImpl_Load(IPersistStream* iface,IStream*pStm) {
} }
} }
if (statfailed) { /* we dont know the size ... read all we get */ if (statfailed) { /* we don't know the size ... read all we get */
int sizeinc = 4096; int sizeinc = 4096;
int origsize = sizeinc; int origsize = sizeinc;
ULONG nread = 42; ULONG nread = 42;
......
...@@ -219,7 +219,7 @@ SECURITY_STATUS run_helper(PNegoHelper helper, char *buffer, ...@@ -219,7 +219,7 @@ SECURITY_STATUS run_helper(PNegoHelper helper, char *buffer,
return sec_status; return sec_status;
} }
TRACE("In helper: recieved %s\n", debugstr_a(helper->com_buf)); TRACE("In helper: received %s\n", debugstr_a(helper->com_buf));
*buflen = lstrlenA(helper->com_buf); *buflen = lstrlenA(helper->com_buf);
if( *buflen > max_buflen) if( *buflen > max_buflen)
......
...@@ -272,7 +272,7 @@ static BOOL CALLBACK extract_icons_callback(HMODULE hModule, LPCWSTR pwszType, L ...@@ -272,7 +272,7 @@ static BOOL CALLBACK extract_icons_callback(HMODULE hModule, LPCWSTR pwszType, L
/* If we didn't already start extracting icons (cIter == 0), we look if the current /* If we didn't already start extracting icons (cIter == 0), we look if the current
* icon is the one we should start with. That's the case if nBaseIndex is negative and * icon is the one we should start with. That's the case if nBaseIndex is negative and
* it's absolute value matches the current icon's identifier. Or if nBaseIndex is positive * it's absolute value matches the current icon's identifier. Or if nBaseIndex is positive
* and we already ommited the first nBaseIndex icons. */ * and we already omitted the first nBaseIndex icons. */
if (pState->cIter == 0) { if (pState->cIter == 0) {
if (pState->nBaseIndex < 0) { if (pState->nBaseIndex < 0) {
if (!IS_INTRESOURCE(pwszName) || idCurrent != -pState->nBaseIndex) { if (!IS_INTRESOURCE(pwszName) || idCurrent != -pState->nBaseIndex) {
......
...@@ -1062,7 +1062,7 @@ static BOOL IWineD3DImpl_IsGLXFBConfigCompatibleWithRenderFmt(WineD3D_Context* c ...@@ -1062,7 +1062,7 @@ static BOOL IWineD3DImpl_IsGLXFBConfigCompatibleWithRenderFmt(WineD3D_Context* c
break; break;
} }
return FALSE; return FALSE;
#else /* Most of the time performance is less of an issue than compatability, this code allows for most common opengl/d3d formats */ #else /* Most of the time performance is less of an issue than compatibility, this code allows for most common opengl/d3d formats */
switch (Format) { switch (Format) {
case WINED3DFMT_X8R8G8B8: case WINED3DFMT_X8R8G8B8:
case WINED3DFMT_R8G8B8: case WINED3DFMT_R8G8B8:
...@@ -1122,7 +1122,7 @@ static BOOL IWineD3DImpl_IsGLXFBConfigCompatibleWithDepthFmt(WineD3D_Context* ct ...@@ -1122,7 +1122,7 @@ static BOOL IWineD3DImpl_IsGLXFBConfigCompatibleWithDepthFmt(WineD3D_Context* ct
break; break;
} }
return FALSE; return FALSE;
#else /* Most of the time performance is less of an issue than compatability, this code allows for most common opengl/d3d formats */ #else /* Most of the time performance is less of an issue than compatibility, this code allows for most common opengl/d3d formats */
switch (Format) { switch (Format) {
case WINED3DFMT_D16: case WINED3DFMT_D16:
case WINED3DFMT_D16_LOCKABLE: case WINED3DFMT_D16_LOCKABLE:
......
...@@ -672,7 +672,7 @@ HRESULT WINAPI IWineD3DSurfaceImpl_UnlockRect(IWineD3DSurface *iface) { ...@@ -672,7 +672,7 @@ HRESULT WINAPI IWineD3DSurfaceImpl_UnlockRect(IWineD3DSurface *iface) {
/**************************** /****************************
* TODO: Render targets are 'special' and * TODO: Render targets are 'special' and
* ?some? locking needs to be passed onto the context manager * ?some? locking needs to be passed onto the context manager
* so that it becomes possible to use auxilary buffers, pbuffers * so that it becomes possible to use auxiliary buffers, pbuffers
* render-to-texture, shared, cached contexts etc... * render-to-texture, shared, cached contexts etc...
* ****************************/ * ****************************/
IWineD3DSwapChainImpl *implSwapChain; IWineD3DSwapChainImpl *implSwapChain;
...@@ -1146,7 +1146,7 @@ HRESULT WINAPI IWineD3DSurfaceImpl_SaveSnapshot(IWineD3DSurface *iface, const ch ...@@ -1146,7 +1146,7 @@ HRESULT WINAPI IWineD3DSurfaceImpl_SaveSnapshot(IWineD3DSurface *iface, const ch
DWORD color; DWORD color;
/*FIXME: /*FIXME:
Textures my not be stored in ->allocatedgMemory and a GlTexture Textures my not be stored in ->allocatedgMemory and a GlTexture
so we should lock the surface before saving a snapshot, or atleast check that so we should lock the surface before saving a snapshot, or at least check that
*/ */
/* TODO: Compressed texture images can be obtained from the GL in uncompressed form /* TODO: Compressed texture images can be obtained from the GL in uncompressed form
by calling GetTexImage and in compressed form by calling by calling GetTexImage and in compressed form by calling
...@@ -1163,7 +1163,7 @@ HRESULT WINAPI IWineD3DSurfaceImpl_SaveSnapshot(IWineD3DSurface *iface, const ch ...@@ -1163,7 +1163,7 @@ HRESULT WINAPI IWineD3DSurfaceImpl_SaveSnapshot(IWineD3DSurface *iface, const ch
IWineD3DSurface_GetContainer(iface, &IID_IWineD3DSwapChain, (void **)&swapChain); IWineD3DSurface_GetContainer(iface, &IID_IWineD3DSwapChain, (void **)&swapChain);
if (swapChain || This->inPBuffer) { /* if were not a real texture then read the back buffer into a real texture*/ if (swapChain || This->inPBuffer) { /* if were not a real texture then read the back buffer into a real texture*/
/* we don't want to interfere with the back buffer so read the data into a tempory texture and then save the data out of the tempory texture */ /* we don't want to interfere with the back buffer so read the data into a temporary texture and then save the data out of the temporary texture */
GLint prevRead; GLint prevRead;
ENTER_GL(); ENTER_GL();
FIXME("(%p) This surface needs to be locked before a snapshot can be taken\n", This); FIXME("(%p) This surface needs to be locked before a snapshot can be taken\n", This);
......
...@@ -638,7 +638,7 @@ static CONST SHADER_OPCODE vshader_ins [] = { ...@@ -638,7 +638,7 @@ static CONST SHADER_OPCODE vshader_ins [] = {
RCP tmp, vec RCP tmp, vec
MUL out, tmp, vec*/ MUL out, tmp, vec*/
{D3DSIO_SGN, "sng", NULL, 2, vshader_sng, 0, 0}, {D3DSIO_SGN, "sng", NULL, 2, vshader_sng, 0, 0},
/* TODO: xyz normalise can be performed is VS_ARB using one tempory register, /* TODO: xyz normalise can be performed is VS_ARB using one temporary register,
DP3 tmp , vec, vec; DP3 tmp , vec, vec;
RSQ tmp, tmp.x; RSQ tmp, tmp.x;
MUL vec.xyz, vec, tmp; MUL vec.xyz, vec, tmp;
......
/* /*
* Sample AUXILARY Wine Driver * Sample AUXILIARY Wine Driver
* *
* Copyright 1994 Martin Ayotte * Copyright 1994 Martin Ayotte
* *
......
...@@ -382,7 +382,7 @@ int main(int argc, char **argv) ...@@ -382,7 +382,7 @@ int main(int argc, char **argv)
int main(int argc, char **argv) int main(int argc, char **argv)
{ {
fprintf( stderr, "%s needs to be built with Freetype support\n", argv[0] ); fprintf( stderr, "%s needs to be built with FreeType support\n", argv[0] );
exit(1); exit(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