Assorted spelling fixes.
This commit is contained in:
parent
8bee6946cc
commit
d0794c4aeb
|
@ -379,7 +379,7 @@ static BOOL fci_flush_data_block (HFCI hfci, int* err,
|
|||
/* add optional reserved area */
|
||||
|
||||
/* This allocation and freeing at each CFData block is a bit */
|
||||
/* inefficent, but it's harder to forget about freeing the buffer :-). */
|
||||
/* inefficient, but it's harder to forget about freeing the buffer :-). */
|
||||
/* Reserved areas are used seldom besides that... */
|
||||
if (cbReserveCFData!=0) {
|
||||
if(!(reserved = (char*)PFCI_ALLOC(hfci, cbReserveCFData))) {
|
||||
|
|
|
@ -2389,7 +2389,7 @@ static void test_encodeSequenceOfAny(DWORD dwEncoding)
|
|||
BYTE *buf = NULL;
|
||||
DWORD bufSize = 0;
|
||||
|
||||
/* Encode a homogenous sequence */
|
||||
/* Encode a homogeneous sequence */
|
||||
for (i = 0; i < sizeof(ints) / sizeof(ints[0]); i++)
|
||||
{
|
||||
blobs[i].cbData = ints[i].encoded[1] + 2;
|
||||
|
|
|
@ -1055,7 +1055,7 @@ static void Direct3D1Test(void)
|
|||
}
|
||||
for(i = 0; i < sizeof(outH); i++) {
|
||||
if(((unsigned char *) outH)[i] != 0xaa) {
|
||||
ok(FALSE, "Homogenous output was generated despite UNCLIPPED flag\n");
|
||||
ok(FALSE, "Homogeneous output was generated despite UNCLIPPED flag\n");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -328,7 +328,7 @@ IDirect3DViewportImpl_SetViewport(IDirect3DViewport3 *iface,
|
|||
* This function is pretty similar to IDirect3DVertexBuffer7::ProcessVertices,
|
||||
* so it's tempting to forward it to there. However, there are some
|
||||
* tiny differences. First, the lpOffscreen flag that is reported back,
|
||||
* then there is the homogenous vertex that is generated. Also there's a lack
|
||||
* then there is the homogeneous vertex that is generated. Also there's a lack
|
||||
* of FVFs, but still a custom stride. Last, the d3d1 - d3d3 viewport has some
|
||||
* settings (scale) that d3d7 and wined3d do not have. All in all wrapping to
|
||||
* ProcessVertices doesn't pay of in terms of wrapper code needed and code
|
||||
|
|
|
@ -693,7 +693,7 @@ INT16 WINAPI DeleteJob16(HPJOB16 hJob, INT16 nNotUsed)
|
|||
|
||||
/*
|
||||
* The following two function would allow a page to be sent to the printer
|
||||
* when it has been processed. For simplicity they havn't been implemented.
|
||||
* when it has been processed. For simplicity they haven't been implemented.
|
||||
* This means a whole job has to be processed before it is sent to the printer.
|
||||
*/
|
||||
|
||||
|
|
|
@ -126,7 +126,7 @@ static void test_GetDiskFreeSpaceA(void)
|
|||
ok( total_clusters <= 65535,
|
||||
"total clusters is %d > 65535\n", total_clusters);
|
||||
else if (pGetDiskFreeSpaceExA) {
|
||||
/* NT, 2k, XP : GetDiskFreeSpace shoud be accurate */
|
||||
/* NT, 2k, XP : GetDiskFreeSpace should be accurate */
|
||||
ULARGE_INTEGER totEx, tot, d;
|
||||
|
||||
tot.QuadPart = sectors_per_cluster;
|
||||
|
|
|
@ -134,7 +134,7 @@ static void update_empty_exe( void )
|
|||
CloseHandle( test );
|
||||
|
||||
r = EndUpdateResource( res, FALSE );
|
||||
ok( r == FALSE, "EndUpdateResouce failed\n");
|
||||
ok( r == FALSE, "EndUpdateResource failed\n");
|
||||
|
||||
res = BeginUpdateResource( filename, FALSE );
|
||||
ok( res == NULL, "BeginUpdateResource failed\n");
|
||||
|
@ -149,7 +149,7 @@ static void update_resources_none( void )
|
|||
ok( res != NULL, "BeginUpdateResource failed\n");
|
||||
|
||||
r = EndUpdateResource( res, FALSE );
|
||||
ok( r, "EndUpdateResouce failed\n");
|
||||
ok( r, "EndUpdateResource failed\n");
|
||||
}
|
||||
|
||||
static void update_resources_delete( void )
|
||||
|
@ -161,7 +161,7 @@ static void update_resources_delete( void )
|
|||
ok( res != NULL, "BeginUpdateResource failed\n");
|
||||
|
||||
r = EndUpdateResource( res, FALSE );
|
||||
ok( r, "EndUpdateResouce failed\n");
|
||||
ok( r, "EndUpdateResource failed\n");
|
||||
}
|
||||
|
||||
static void update_resources_version(void)
|
||||
|
@ -178,17 +178,17 @@ static void update_resources_version(void)
|
|||
MAKEINTRESOURCE(0x4567),
|
||||
0xabcd,
|
||||
NULL, 0 );
|
||||
ok( r == FALSE, "UpdateResouce failed\n");
|
||||
ok( r == FALSE, "UpdateResource failed\n");
|
||||
|
||||
r = UpdateResource( res,
|
||||
MAKEINTRESOURCE(0x1230),
|
||||
MAKEINTRESOURCE(0x4567),
|
||||
0xabcd,
|
||||
foo, sizeof foo );
|
||||
ok( r == TRUE, "UpdateResouce failed\n");
|
||||
ok( r == TRUE, "UpdateResource failed\n");
|
||||
|
||||
r = EndUpdateResource( res, FALSE );
|
||||
ok( r, "EndUpdateResouce failed\n");
|
||||
ok( r, "EndUpdateResource failed\n");
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -64,7 +64,7 @@ static HRESULT WINAPI dimimpl_QueryInterface(
|
|||
}
|
||||
else
|
||||
{
|
||||
FIXME("Unsupported inteferace %s\n", debugstr_guid(riid));
|
||||
FIXME("Unsupported interface %s\n", debugstr_guid(riid));
|
||||
return E_NOINTERFACE;
|
||||
}
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ This library (twain_32.dll) is an implementation of TWAIN API for providing imag
|
|||
|
||||
2. WHAT'S IMPLEMENTED
|
||||
|
||||
- Functions that dispatch operations specified by the operation triplets to the coresponding function.
|
||||
- Functions that dispatch operations specified by the operation triplets to the corresponding function.
|
||||
|
||||
- All the operation triplets related to the Data Source Manager are implemented. Appplication is able to enumerate data sources and open them.
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
* 98/7 changes for making this MIDI driver work on OSS
|
||||
* current support is limited to MIDI ports of OSS systems
|
||||
* 98/9 rewriting MCI code for MIDI
|
||||
* 98/11 splitted in midi.c and mcimidi.c
|
||||
* 98/11 split in midi.c and mcimidi.c
|
||||
* Copyright 2003 Christian Costa :
|
||||
* ALSA port
|
||||
*
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
* 98/7 changes for making this MIDI driver work on OSS
|
||||
* current support is limited to MIDI ports of OSS systems
|
||||
* 98/9 rewriting MCI code for MIDI
|
||||
* 98/11 splitted in midi.c and mcimidi.c
|
||||
* 98/11 split in midi.c and mcimidi.c
|
||||
* Copyright 2006 Emmanuel Maillard
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
|
|
|
@ -127,7 +127,7 @@ HRESULT WINAPI IWineD3DBaseTextureImpl_GetParent(IWineD3DBaseTexture *iface, IUn
|
|||
IWineD3DBaseTexture IWineD3DBaseTexture parts follow
|
||||
****************************************************** */
|
||||
|
||||
/* There is no OpenGL equivalent of setLOD, getLOD, all they do it prioritize texture loading
|
||||
/* There is no OpenGL equivalent of setLOD, getLOD. All they do anyway is prioritize texture loading
|
||||
* so just pretend that they work unless something really needs a failure. */
|
||||
DWORD WINAPI IWineD3DBaseTextureImpl_SetLOD(IWineD3DBaseTexture *iface, DWORD LODNew) {
|
||||
IWineD3DBaseTextureImpl *This = (IWineD3DBaseTextureImpl *)iface;
|
||||
|
@ -362,7 +362,7 @@ static inline void apply_wrap(const GLint textureDimensions, const DWORD state,
|
|||
FIXME("Unrecognized or unsupported WINED3DTADDRESS_U value %d\n", state);
|
||||
} else {
|
||||
if(textureDimensions==GL_TEXTURE_CUBE_MAP_ARB) {
|
||||
/* Cubemaps are always set to clamp, regardeless of the sampler state. */
|
||||
/* Cubemaps are always set to clamp, regardless of the sampler state. */
|
||||
wrapParm = GL_CLAMP_TO_EDGE;
|
||||
} else {
|
||||
wrapParm = stateLookup[WINELOOKUP_WARPPARAM][state - minLookup[WINELOOKUP_WARPPARAM]];
|
||||
|
@ -420,7 +420,7 @@ void WINAPI IWineD3DBaseTextureImpl_ApplyStateChanges(IWineD3DBaseTexture *iface
|
|||
glValue = stateLookup[WINELOOKUP_MAGFILTER][state - minLookup[WINELOOKUP_MAGFILTER]];
|
||||
TRACE("ValueMAG=%d setting MAGFILTER to %x\n", state, glValue);
|
||||
glTexParameteri(textureDimensions, GL_TEXTURE_MAG_FILTER, glValue);
|
||||
/* We need to reset the Aniotropic filtering state when we change the mag filter to WINED3DTEXF_ANISOTROPIC (this seems a bit weird, check the documentation to see how it should be switched off. */
|
||||
/* We need to reset the Anisotropic filtering state when we change the mag filter to WINED3DTEXF_ANISOTROPIC (this seems a bit weird, check the documentation to see how it should be switched off. */
|
||||
if (GL_SUPPORT(EXT_TEXTURE_FILTER_ANISOTROPIC) && WINED3DTEXF_ANISOTROPIC == state &&
|
||||
textureDimensions != GL_TEXTURE_RECTANGLE_ARB) {
|
||||
glTexParameteri(textureDimensions, GL_TEXTURE_MAX_ANISOTROPY_EXT, samplerStates[WINED3DSAMP_MAXANISOTROPY]);
|
||||
|
|
|
@ -789,7 +789,7 @@ static inline WineD3DContext *FindContext(IWineD3DDeviceImpl *This, IWineD3DSurf
|
|||
if(This->activeContext && tid == This->lastThread) {
|
||||
context = This->activeContext;
|
||||
} else {
|
||||
/* This may happen if the app jumps streight into offscreen rendering
|
||||
/* This may happen if the app jumps straight into offscreen rendering
|
||||
* Start using the context of the primary swapchain. tid == 0 is no problem
|
||||
* for findThreadContextForSwapChain.
|
||||
*
|
||||
|
|
|
@ -1415,7 +1415,7 @@ static HRESULT WINAPI IWineD3DDeviceImpl_CreateAdditionalSwapChain(IWineD3DDevic
|
|||
WINED3DDISPLAYMODE Mode;
|
||||
const StaticPixelFormatDesc *formatDesc;
|
||||
|
||||
TRACE("(%p) : Created Aditional Swap Chain\n", This);
|
||||
TRACE("(%p) : Created Additional Swap Chain\n", This);
|
||||
|
||||
/** FIXME: Test under windows to find out what the life cycle of a swap chain is,
|
||||
* does a device hold a reference to a swap chain giving them a lifetime of the device
|
||||
|
@ -5244,7 +5244,7 @@ static HRESULT WINAPI IWineD3DDeviceImpl_UpdateTexture (IWineD3DDevice *iface, I
|
|||
|
||||
/* check that both textures have the identical numbers of levels */
|
||||
if (IWineD3DBaseTexture_GetLevelCount(pDestinationTexture) != IWineD3DBaseTexture_GetLevelCount(pSourceTexture)) {
|
||||
WARN("(%p) : source (%p) and destination (%p) textures must have identicle numbers of levels, returning WINED3DERR_INVALIDCALL\n", This, pSourceTexture, pDestinationTexture);
|
||||
WARN("(%p) : source (%p) and destination (%p) textures must have identical numbers of levels, returning WINED3DERR_INVALIDCALL\n", This, pSourceTexture, pDestinationTexture);
|
||||
hr = WINED3DERR_INVALIDCALL;
|
||||
}
|
||||
|
||||
|
|
|
@ -814,7 +814,7 @@ BOOL IWineD3DImpl_FillGLCaps(WineD3D_GL_Info *gl_info) {
|
|||
* a fixed function pipeline anymore.
|
||||
*
|
||||
* So this is just a check to check that our assumption holds true. If not, write a warning
|
||||
* and reduce the number of vertex samplers or propably disable vertex texture fetch.
|
||||
* and reduce the number of vertex samplers or probably disable vertex texture fetch.
|
||||
*/
|
||||
if(gl_info->max_vertex_samplers &&
|
||||
MAX_TEXTURES + gl_info->max_vertex_samplers > gl_info->max_combined_samplers) {
|
||||
|
|
|
@ -88,7 +88,7 @@ void IWineD3DResourceImpl_CleanUp(IWineD3DResource *iface){
|
|||
|
||||
if (This->resource.wineD3DDevice != NULL) {
|
||||
IWineD3DDevice_ResourceReleased((IWineD3DDevice *)This->resource.wineD3DDevice, iface);
|
||||
}/* NOTE: this is not really an error for systemmem resources */
|
||||
}/* NOTE: this is not really an error for system memory resources */
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -3229,9 +3229,9 @@ static void loadVertexData(IWineD3DStateBlockImpl *stateblock, WineDirect3DVerte
|
|||
|
||||
/* min(WINED3D_ATR_SIZE(position),3) to Disable RHW mode as 'w' coord
|
||||
handling for rhw mode should not impact screen position whereas in GL it does.
|
||||
This may result in very slightly distorted textures in rhw mode, but
|
||||
a very minimal different. There's always the other option of
|
||||
fixing the view matrix to prevent w from having any effect
|
||||
This may result in very slightly distorted textures in rhw mode.
|
||||
There's always the other option of fixing the view matrix to
|
||||
prevent w from having any effect.
|
||||
|
||||
This only applies to user pointer sources, in VBOs the vertices are fixed up
|
||||
*/
|
||||
|
@ -3278,9 +3278,9 @@ static void loadVertexData(IWineD3DStateBlockImpl *stateblock, WineDirect3DVerte
|
|||
/* WARNING: Data here MUST be in RGBA format, so cannot */
|
||||
/* go directly into fast mode from app pgm, because */
|
||||
/* directx requires data in BGRA format. */
|
||||
/* currently fixupVertices swizzles the format, but this isn't */
|
||||
/* currently fixupVertices swizzles the format, but this isn't*/
|
||||
/* very practical when using VBOS */
|
||||
/* NOTE: Unless we write a vertex shader to swizzle the colour */
|
||||
/* NOTE: Unless we write a vertex shader to swizzle the colour*/
|
||||
/* , or the user doesn't care and wants the speed advantage */
|
||||
|
||||
if (sd->u.s.diffuse.lpData || sd->u.s.diffuse.VBO) {
|
||||
|
|
|
@ -245,7 +245,7 @@ static inline BOOL check_attribute(IWineD3DVertexBufferImpl *This, const WineDir
|
|||
DWORD type;
|
||||
|
||||
/* Ignore attributes that do not have our vbo. After that check we can be sure that the attribute is
|
||||
* there, on nonexistant attribs the vbo is 0.
|
||||
* there, on nonexistent attribs the vbo is 0.
|
||||
*/
|
||||
if(attrib->VBO != This->vbo) return FALSE;
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
* 98/7 changes for making this MIDI driver work on OSS
|
||||
* current support is limited to MIDI ports of OSS systems
|
||||
* 98/9 rewriting MCI code for MIDI
|
||||
* 98/11 splitted in midi.c and mcimidi.c
|
||||
* 98/11 split in midi.c and mcimidi.c
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
|
|
|
@ -97,7 +97,7 @@ typedef struct tagMSFT_SegDir {
|
|||
/*2*/MSFT_pSeg pImpInfo; /* table with info for imported types */
|
||||
/*3*/MSFT_pSeg pImpFiles; /* import libraries */
|
||||
/*4*/MSFT_pSeg pRefTab; /* References table */
|
||||
/*5*/MSFT_pSeg pLibtab; /* always exists, alway same size (0x80) */
|
||||
/*5*/MSFT_pSeg pLibtab; /* always exists, always same size (0x80) */
|
||||
/* hash table w offsets to guid????? */
|
||||
/*6*/MSFT_pSeg pGuidTab; /* all guids are stored here together with */
|
||||
/* offset in some table???? */
|
||||
|
|
|
@ -442,7 +442,7 @@ resources
|
|||
}
|
||||
/*
|
||||
* The following newline rule will never get reduced because we never
|
||||
* get the tNL token, unless we explicitely set the 'want_nl'
|
||||
* get the tNL token, unless we explicitly set the 'want_nl'
|
||||
* flag, which we don't.
|
||||
* The *ONLY* reason for this to be here is because Berkeley
|
||||
* yacc (byacc), at least version 1.9, has a bug.
|
||||
|
|
Loading…
Reference in New Issue