Assorted spelling fixes.

This commit is contained in:
Francois Gouget 2008-05-06 15:54:52 +02:00 committed by Alexandre Julliard
parent 53f2cb83dc
commit 42a61d7ed7
19 changed files with 25 additions and 25 deletions

View File

@ -1010,7 +1010,7 @@ static void test_hdm_filterMessages(HWND hParent)
flush_sequences(sequences, NUM_MSG_SEQUENCES);
todo_wine
{
/* msdn incorrecly states that return value
/* msdn incorrectly states that return value
* is the index of the filter control being
* modified. The sendMessage here should
* return previous filter timeout value

View File

@ -77,7 +77,7 @@ static int load_functions(void) {
TRACE("Successfully loaded '%s'\n", soname);
}
else {
MESSAGE("Wine cannot find any useable hardware library, ctapi32.dll not working.\n");
MESSAGE("Wine cannot find any usable hardware library, ctapi32.dll not working.\n");
MESSAGE("Please create the key \"HKEY_CURRENT_USER\\Software\\Wine\\ctapi32\" in your registry\n");
MESSAGE("and set the value \"library\" to your library name (e.g. \"libctapi-cyberjack.so.1\" or \"/usr/lib/readers/libctapi.so\").\n");
return 1;

View File

@ -2034,7 +2034,7 @@ IDirectDrawImpl_CreateNewSurface(IDirectDrawImpl *This,
/* Anno 1602 stores the pitch right after surface creation, so make sure it's there.
* I can't LockRect() the surface here because if OpenGL surfaces are in use, the
* WineD3DDevice might not be useable for 3D yet, so an extra method was created.
* WineD3DDevice might not be usable for 3D yet, so an extra method was created.
* TODO: Test other fourcc formats
*/
if(Format == WINED3DFMT_DXT1 || Format == WINED3DFMT_DXT2 || Format == WINED3DFMT_DXT3 ||

View File

@ -335,7 +335,7 @@ IDirect3DDeviceImpl_7_Release(IDirect3DDevice7 *iface)
/* Release the WineD3DDevice. This won't destroy it */
if(IWineD3DDevice_Release(This->wineD3DDevice) <= 0)
{
ERR(" (%p) The wineD3D device %p was destroyed unexpectadely. Prepare for trouble\n", This, This->wineD3DDevice);
ERR(" (%p) The wineD3D device %p was destroyed unexpectedly. Prepare for trouble\n", This, This->wineD3DDevice);
}
/* The texture handles should be unset by now, but there might be some bits

View File

@ -1707,7 +1707,7 @@ IDirectDrawSurfaceImpl_Initialize(IDirectDrawSurface7 *iface,
* Checks if the surface is lost
*
* Returns:
* DD_OK, if the surface is useable
* DD_OK, if the surface is usable
* DDERR_ISLOST if the surface is lost
* See IWineD3DSurface::IsLost for more details
*

View File

@ -546,7 +546,7 @@ BOOL DIEnumDevicesCallbackAtoW(LPCDIDEVICEOBJECTINSTANCEA lpddi, LPVOID lpvRef)
if (lpddi->dwSize == sizeof(DIDEVICEINSTANCEA)) {
/**
* if dwSize < sizeof(DIDEVICEINSTANCEA of DInput version >= 5)
* force feedback and other newer datas aren't available
* force feedback and other newer data aren't available
*/
ddtmp.dwFFMaxForce = lpddi->dwFFMaxForce;
ddtmp.dwFFForceResolution = lpddi->dwFFForceResolution;

View File

@ -117,7 +117,7 @@ static HRESULT WINAPI IDirectMusicTempoTrack_IDirectMusicTrack_InitPlay (LPDIREC
ERR(": no more memory\n");
return E_OUTOFMEMORY;
}
/** TODO real fill useful datas */
/** TODO real fill useful data */
pState->dummy = 0;
*ppStateData = pState;
return S_OK;

View File

@ -18,9 +18,9 @@
/*
* NOTE:
* This file is not an usual idl file. Interfaces in this file are XPCOM interfaces
* (NOT MSCOM!), but we generate the header file with WIDL compatibile with XPCOM,
* useable in C code.
* This file is not a typical idl file. Interfaces in this file are XPCOM
* interfaces (NOT MSCOM!), but we generate the header file with WIDL
* compatible with XPCOM, usable in C code.
*/
cpp_quote("#define GECKO_VERSION \"0.1.0\"")

View File

@ -1796,7 +1796,7 @@ end:
* szFeature [I] Feature's GUID string
*
* RETURNS
* INSTALLSTATE_LOCAL Feature is installed and useable
* INSTALLSTATE_LOCAL Feature is installed and usable
* INSTALLSTATE_ABSENT Feature is absent
* INSTALLSTATE_ADVERTISED Feature should be installed on demand
* INSTALLSTATE_UNKNOWN An error occurred

View File

@ -1212,7 +1212,7 @@ HRESULT WINAPI GetClassFile(LPCOLESTR filePathName,CLSID *pclsid)
return res;
}
/* If the file is not a storage object then attempt to match various bits in the file against a
pattern in the registry. This case is not frequently used, so I present only the psodocode for
pattern in the registry. This case is not frequently used, so I present only the pseudocode for
this case.
for(i=0;i<nFileTypes;i++)

View File

@ -624,7 +624,7 @@ static HRESULT AVISplitter_ProcessStreamList(AVISplitterImpl * This, const BYTE
if (nstdindex > 0)
{
ERR("Stream %d got more then 1 superindex?\n", This->Parser.cStreams);
ERR("Stream %d got more than 1 superindex?\n", This->Parser.cStreams);
break;
}

View File

@ -1759,21 +1759,21 @@ static void test_WM_SETFONT(void)
GetObjectA(testFont1, sizeof(LOGFONTA), &sentLogFont);
ok (!strcmp(sentLogFont.lfFaceName,returnedCF2A.szFaceName),
"EM_GETCHARFOMAT: Returned wrong font on test 1. Sent: %s, Returned: %s\n",
"EM_GETCHARFORMAT: Returned wrong font on test 1. Sent: %s, Returned: %s\n",
sentLogFont.lfFaceName,returnedCF2A.szFaceName);
SendMessage(hwndRichEdit, WM_SETFONT, (WPARAM)testFont2,(LPARAM) MAKELONG((WORD) TRUE, 0));
SendMessage(hwndRichEdit, EM_GETCHARFORMAT, SCF_DEFAULT, (LPARAM) &returnedCF2A);
GetObjectA(testFont2, sizeof(LOGFONTA), &sentLogFont);
ok (!strcmp(sentLogFont.lfFaceName,returnedCF2A.szFaceName),
"EM_GETCHARFOMAT: Returned wrong font on test 2. Sent: %s, Returned: %s\n",
"EM_GETCHARFORMAT: Returned wrong font on test 2. Sent: %s, Returned: %s\n",
sentLogFont.lfFaceName,returnedCF2A.szFaceName);
SendMessage(hwndRichEdit, WM_SETFONT, (WPARAM)testFont3,(LPARAM) MAKELONG((WORD) TRUE, 0));
SendMessage(hwndRichEdit, EM_GETCHARFORMAT, SCF_DEFAULT, (LPARAM) &returnedCF2A);
GetObjectA(testFont3, sizeof(LOGFONTA), &sentLogFont);
ok (!strcmp(sentLogFont.lfFaceName,returnedCF2A.szFaceName),
"EM_GETCHARFOMAT: Returned wrong font on test 3. Sent: %s, Returned: %s\n",
"EM_GETCHARFORMAT: Returned wrong font on test 3. Sent: %s, Returned: %s\n",
sentLogFont.lfFaceName,returnedCF2A.szFaceName);
/* This last test is special since we send in NULL. We clear the variables
@ -1786,7 +1786,7 @@ static void test_WM_SETFONT(void)
SendMessage(hwndRichEdit, EM_GETCHARFORMAT, SCF_DEFAULT, (LPARAM) &returnedCF2A);
GetObjectA(NULL, sizeof(LOGFONTA), &sentLogFont);
ok (!strcmp("System",returnedCF2A.szFaceName),
"EM_GETCHARFOMAT: Returned wrong font on test 4. Sent: NULL, Returned: %s. Expected \"System\".\n",returnedCF2A.szFaceName);
"EM_GETCHARFORMAT: Returned wrong font on test 4. Sent: NULL, Returned: %s. Expected \"System\".\n",returnedCF2A.szFaceName);
DestroyWindow(hwndRichEdit);
}

View File

@ -276,7 +276,7 @@ todo_wine {
ok(mem != StubMsg.BufferStart + wiredatalen - srcsize, "%s: mem points to buffer %p %p\n", msgpfx, mem, StubMsg.BufferStart);
else
ok(mem == StubMsg.BufferStart + wiredatalen - srcsize, "%s: mem doesn't point to buffer %p %p\n", msgpfx, mem, StubMsg.BufferStart);
ok(!cmp(mem, memsrc, size), "%s: incorrecly unmarshaled\n", msgpfx);
ok(!cmp(mem, memsrc, size), "%s: incorrectly unmarshaled\n", msgpfx);
ok(StubMsg.Buffer - StubMsg.BufferStart == wiredatalen, "%s: Buffer %p Start %p len %d\n", msgpfx, StubMsg.Buffer, StubMsg.BufferStart, wiredatalen);
ok(StubMsg.MemorySize == 0, "%s: memorysize %d\n", msgpfx, StubMsg.MemorySize);
if (formattypes[2] != 0xd /* FC_ENUM16 */) {

View File

@ -222,7 +222,7 @@ static HRESULT WINAPI IWineD3DDeviceImpl_CreateVertexBuffer(IWineD3DDevice *ifac
return WINED3DERR_INVALIDCALL;
} else if(Pool == WINED3DPOOL_SCRATCH) {
/* The d3d9 testsuit shows that this is not allowed. It doesn't make much sense
* anyway, SCRATCH vertex buffers aren't useable anywhere
* anyway, SCRATCH vertex buffers aren't usable anywhere
*/
WARN("Vertex buffer in D3DPOOL_SCRATCH requested, returning WINED3DERR_INVALIDCALL\n");
*ppVertexBuffer = NULL;

View File

@ -2298,14 +2298,14 @@ typedef struct IWineD3DVertexShaderImpl {
attrib_declaration swizzled_attribs [MAX_ATTRIBS];
UINT num_swizzled_attribs;
/* run time datas... */
/* run time data... */
VSHADERDATA *data;
UINT min_rel_offset, max_rel_offset;
UINT rel_offset;
UINT recompile_count;
#if 0 /* needs reworking */
/* run time datas */
/* run time data */
VSHADERINPUTDATA input;
VSHADEROUTPUTDATA output;
#endif

View File

@ -124,7 +124,7 @@ static CRITICAL_SECTION_DEBUG critsect_debug =
};
CRITICAL_SECTION csWSgetXXXbyYYY = { &critsect_debug, -1, 0, 0, 0, 0 };
/* protoptypes of some functions in socket.c
/* prototypes of some functions in socket.c
*/
UINT wsaErrno(void);
UINT wsaHerrno(int errnr);

View File

@ -267,7 +267,7 @@ static DWORD WINAPI NPMainWorkThread(LPVOID ignored)
}
if (wait_result == WAIT_FAILED) {
WINE_ERR("Couldn't enter master mutex. Expect prolems.\n");
WINE_ERR("Couldn't enter master mutex. Expect problems.\n");
} else {
/* now create a new named pipe instance to listen on */
np_server_end = CreateNamedPipe(

View File

@ -1313,7 +1313,7 @@ sub fix_file($$$)
# by a reference to an array containing:
# - "push" for pack(push,...) directives, "" otherwise
# - the directive's identifier at index 1
# - the directive's alignement value at index 2
# - the directive's alignment value at index 2
#
# Don't believe a word of what the documentation says: it's all wrong.
# The code below is based on the actual behavior of Visual C/C++ 6.

View File

@ -509,7 +509,7 @@ resource
* However, we can test the lookahead-token for
* being "non-expression" type, in which case we
* continue. Fortunately, tNL is the only token that
* will break expression parsing and is implicitely
* will break expression parsing and is implicitly
* void, so we just remove it. This scheme makes it
* possible to do some (not all) fancy preprocessor
* stuff.