mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-01 01:23:37 +00:00
Assorted spelling and case fixes.
This commit is contained in:
parent
39e11022e8
commit
f4c0524ec6
|
@ -5138,7 +5138,7 @@ static HIMAGELIST LISTVIEW_GetImageList(LISTVIEW_INFO *infoPtr, INT nImageList)
|
|||
*
|
||||
* NOTE:
|
||||
* 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
|
||||
* that this is not always possible (e.g. OWNERDATA), so on
|
||||
* entry you *must* supply valid values for pszText, and cchTextMax.
|
||||
|
|
|
@ -9,7 +9,7 @@ BEGIN {
|
|||
if (NF > 0 && length(array[1]) > 0) {
|
||||
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[4] == "&") {
|
||||
names[lines] = array[1] " " array[2] " " array[3] " " array[4] " " array[5]
|
||||
|
|
|
@ -9,7 +9,7 @@ BEGIN {
|
|||
if (NF > 0 && length(array[1]) > 0) {
|
||||
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[4] == "&") {
|
||||
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)
|
|||
if (!szName)
|
||||
return ERROR_INVALID_PARAMETER;
|
||||
|
||||
/* this one is wierd... */
|
||||
/* this one is weird... */
|
||||
if (!szName[0])
|
||||
return szValue ? ERROR_FUNCTION_FAILED : ERROR_SUCCESS;
|
||||
|
||||
|
|
|
@ -631,7 +631,7 @@ static void test_props(void)
|
|||
r = MsiGetProperty( hpkg, "boo", buffer, NULL );
|
||||
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;
|
||||
r = MsiGetProperty( hpkg, "boo", NULL, &sz );
|
||||
ok( r == ERROR_SUCCESS, "wrong return val\n");
|
||||
|
|
|
@ -102,7 +102,7 @@ void test_domdoc( void )
|
|||
ok( r == S_FALSE, "loadXML failed\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;
|
||||
str = SysAllocString( szNonExistentFile );
|
||||
VariantInit(&var);
|
||||
|
|
|
@ -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 origsize = sizeinc;
|
||||
ULONG nread = 42;
|
||||
|
|
|
@ -219,7 +219,7 @@ SECURITY_STATUS run_helper(PNegoHelper helper, char *buffer,
|
|||
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);
|
||||
|
||||
if( *buflen > max_buflen)
|
||||
|
|
|
@ -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
|
||||
* 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
|
||||
* and we already ommited the first nBaseIndex icons. */
|
||||
* and we already omitted the first nBaseIndex icons. */
|
||||
if (pState->cIter == 0) {
|
||||
if (pState->nBaseIndex < 0) {
|
||||
if (!IS_INTRESOURCE(pwszName) || idCurrent != -pState->nBaseIndex) {
|
||||
|
|
|
@ -1062,7 +1062,7 @@ static BOOL IWineD3DImpl_IsGLXFBConfigCompatibleWithRenderFmt(WineD3D_Context* c
|
|||
break;
|
||||
}
|
||||
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) {
|
||||
case WINED3DFMT_X8R8G8B8:
|
||||
case WINED3DFMT_R8G8B8:
|
||||
|
@ -1122,7 +1122,7 @@ static BOOL IWineD3DImpl_IsGLXFBConfigCompatibleWithDepthFmt(WineD3D_Context* ct
|
|||
break;
|
||||
}
|
||||
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) {
|
||||
case WINED3DFMT_D16:
|
||||
case WINED3DFMT_D16_LOCKABLE:
|
||||
|
|
|
@ -672,7 +672,7 @@ HRESULT WINAPI IWineD3DSurfaceImpl_UnlockRect(IWineD3DSurface *iface) {
|
|||
/****************************
|
||||
* TODO: Render targets are 'special' and
|
||||
* ?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...
|
||||
* ****************************/
|
||||
IWineD3DSwapChainImpl *implSwapChain;
|
||||
|
@ -1146,7 +1146,7 @@ HRESULT WINAPI IWineD3DSurfaceImpl_SaveSnapshot(IWineD3DSurface *iface, const ch
|
|||
DWORD color;
|
||||
/*FIXME:
|
||||
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
|
||||
by calling GetTexImage and in compressed form by calling
|
||||
|
@ -1163,7 +1163,7 @@ HRESULT WINAPI IWineD3DSurfaceImpl_SaveSnapshot(IWineD3DSurface *iface, const ch
|
|||
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*/
|
||||
/* 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;
|
||||
ENTER_GL();
|
||||
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 [] = {
|
|||
RCP tmp, vec
|
||||
MUL out, tmp, vec*/
|
||||
{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;
|
||||
RSQ tmp, tmp.x;
|
||||
MUL vec.xyz, vec, tmp;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Sample AUXILARY Wine Driver
|
||||
* Sample AUXILIARY Wine Driver
|
||||
*
|
||||
* Copyright 1994 Martin Ayotte
|
||||
*
|
||||
|
|
|
@ -382,7 +382,7 @@ 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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue