Assorted spelling fixes.

This commit is contained in:
Francois Gouget 2007-07-31 18:57:34 +02:00 committed by Alexandre Julliard
parent 4eebfa5da9
commit 5266e57975
12 changed files with 28 additions and 28 deletions

View File

@ -1860,7 +1860,7 @@ static void test_ConvertStringSecurityDescriptor(void)
SetLastError(0xdeadbeef);
ret = pConvertStringSecurityDescriptorToSecurityDescriptorA(
"D:(D;;GA;;;Non existant account)", SDDL_REVISION_1, &pSD, NULL);
"D:(D;;GA;;;Nonexistent account)", SDDL_REVISION_1, &pSD, NULL);
todo_wine
ok(!ret && GetLastError() == ERROR_INVALID_ACL,
"ConvertStringSecurityDescriptorToSecurityDescriptor should have failed with ERROR_INVALID_ACL instead of %d\n",

View File

@ -111,7 +111,7 @@ static void test_open_svc(void)
GetLastError() == ERROR_INVALID_PARAMETER /* NT4 */,
"Expected ERROR_INVALID_ADDRESS or ERROR_INVALID_PARAMETER, got %d\n", GetLastError());
/* Non-existent service */
/* Nonexistent service */
scm_handle = OpenSCManagerA(NULL, NULL, SC_MANAGER_CONNECT);
SetLastError(0xdeadbeef);
svc_handle = OpenServiceA(scm_handle, "deadbeef", GENERIC_READ);
@ -423,7 +423,7 @@ static void test_get_displayname(void)
GetLastError() == ERROR_INVALID_PARAMETER /* NT4 */,
"Expected ERROR_INVALID_ADDRESS or ERROR_INVALID_PARAMETER, got %d\n", GetLastError());
/* Test for non-existing service */
/* Test for nonexistent service */
SetLastError(0xdeadbeef);
displaysize = -1;
ret = GetServiceDisplayNameA(scm_handle, deadbeef, NULL, &displaysize);
@ -484,7 +484,7 @@ static void test_get_displayname(void)
GetLastError() == 0xdeadbeef /* NT4, XP, Vista */,
"Expected ERROR_SUCCESS, ERROR_IO_PENDING or 0xdeadbeef, got %d\n", GetLastError());
/* And with a bigger then needed buffer */
/* And with a bigger than needed buffer */
SetLastError(0xdeadbeef);
displaysize = tempsize * 2;
ret = GetServiceDisplayNameA(scm_handle, spooler, displayname, &displaysize);
@ -525,7 +525,7 @@ static void test_get_displayname(void)
ok(GetLastError() == ERROR_INSUFFICIENT_BUFFER,
"Expected ERROR_INSUFFICIENT_BUFFER, got %d\n", GetLastError());
/* And with a bigger then needed buffer */
/* And with a bigger than needed buffer */
SetLastError(0xdeadbeef);
displaysize = tempsizeW + 1; /* This caters for the null terminating character */
ret = GetServiceDisplayNameW(scm_handle, spoolerW, displaynameW, &displaysize);
@ -643,7 +643,7 @@ static void test_get_servicekeyname(void)
GetLastError() == ERROR_INVALID_PARAMETER /* NT4 */,
"Expected ERROR_INVALID_ADDRESS or ERROR_INVALID_PARAMETER, got %d\n", GetLastError());
/* Test for non-existing displayname */
/* Test for nonexistent displayname */
SetLastError(0xdeadbeef);
ret = GetServiceKeyNameA(scm_handle, deadbeef, NULL, &servicesize);
ok(!ret, "Expected failure\n");
@ -886,7 +886,7 @@ static void test_refcount(void)
ok(ret, "Expected success\n");
/* We cannot create the same service again as it's still marked as 'being deleted'.
* The reason is that we still have 4 open handles to this service eventhough we
* The reason is that we still have 4 open handles to this service even though we
* closed the handle to the Service Control Manager in between.
*/
SetLastError(0xdeadbeef);
@ -917,7 +917,7 @@ static void test_refcount(void)
ret = CloseServiceHandle(svc_handle1);
ok(ret, "Expected success\n");
/* Wait a while. Doing a CreateService to soon will result again
/* Wait a while. Doing a CreateService too soon will result again
* in an ERROR_SERVICE_MARKED_FOR_DELETE error.
*/
Sleep(1000);

View File

@ -783,7 +783,7 @@ void FD31_DestroyPrivate(PFD31_DATA lfs)
/************************************************************************
* FD31_AllocPrivate [internal]
* allocate a private object to hold 32 bits Unicode
* structure that will be used throughtout the calls, while
* structure that will be used throughout the calls, while
* keeping available the original structures and a few variables
* On entry : type = dialog procedure type (16,32A,32W)
* dlgType = dialog type (open or save)

View File

@ -1044,7 +1044,7 @@ static void Direct3D1Test(void)
/* No scheme has been found behind those return values. It seems to be
* whatever data windows has when throwing the vertex away. Modify the
* input test vertices to test this more. Depending on the input data
* it can happen that the z coord gets written into y, or simmilar things
* it can happen that the z coord gets written into y, or similar things
*/
if(0)
{

View File

@ -325,12 +325,12 @@ IDirect3DViewportImpl_SetViewport(IDirect3DViewport3 *iface,
*
* Transforms vertices by the transformation matrix.
*
* This function is pretty simmilar to IDirect3DVertexBuffer7::ProcessVertices,
* so its tempting to forward it to ProcessVertices. However, there are some
* 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
* 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
* 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
* reused.
*
@ -431,7 +431,7 @@ IDirect3DViewportImpl_TransformVertices(IDirect3DViewport3 *iface,
/* Looks like native just drops the vertex, leaves whatever data
* it has in the output buffer and goes on with the next vertex.
* The exact scheme hasn't been figured out yet, but windows
* definitly writes something there.
* definitely writes something there.
*/
out[0] = x;
out[1] = y;

View File

@ -1652,7 +1652,7 @@ static void test_GetTextMetrics(void)
ReleaseDC(0, hdc);
}
static void test_non_existent_font(void)
static void test_nonexistent_font(void)
{
LOGFONTA lf;
HDC hdc;
@ -1672,7 +1672,7 @@ static void test_non_existent_font(void)
lf.lfWeight = FW_REGULAR;
lf.lfCharSet = ANSI_CHARSET;
lf.lfPitchAndFamily = FF_SWISS;
strcpy(lf.lfFaceName, "Non existent font");
strcpy(lf.lfFaceName, "Nonexistent font");
hfont = CreateFontIndirectA(&lf);
hfont = SelectObject(hdc, hfont);
@ -1698,7 +1698,7 @@ START_TEST(font)
test_SetTextJustification();
test_font_charset();
test_GetFontUnicodeRanges();
test_non_existent_font();
test_nonexistent_font();
/* On Windows Arial has a lot of default charset aliases such as Arial Cyr,
* I'd like to avoid them in this test.

View File

@ -990,9 +990,9 @@ static void test_GetShortPathNameW(void)
/* End test */
CloseHandle( file );
ret = DeleteFileW( short_path );
ok( ret, "Can not delete file.\n" );
ok( ret, "Cannot delete file.\n" );
ret = RemoveDirectoryW( path );
ok( ret, "Can not delete directory.\n" );
ok( ret, "Cannot delete directory.\n" );
}
static void test_GetSystemDirectory(void)

View File

@ -131,7 +131,7 @@ NET_API_STATUS WINAPI NetUserAdd(LPCWSTR servername,
/* Fall through */
case 2:
FIXME("Level 2 not implemented.\n");
/* Fall throught */
/* Fall through */
case 1:
{
PUSER_INFO_1 ui = (PUSER_INFO_1) bufptr;

View File

@ -1577,7 +1577,7 @@ void WINAPI SHFreeNameMappings(HANDLE hNameMapping)
* drive = 0: returns the current directory path
* drive > 0: returns the current directory path of the specified drive
* drive=1 -> A: drive=2 -> B: ...
* returns 0 if successfull
* returns 0 if successful
*/
DWORD WINAPI SheGetDirA(DWORD drive, LPSTR buffer)
{
@ -1614,7 +1614,7 @@ DWORD WINAPI SheGetDirA(DWORD drive, LPSTR buffer)
* drive = 0: returns the current directory path
* drive > 0: returns the current directory path of the specified drive
* drive=1 -> A: drive=2 -> B: ...
* returns 0 if successfull
* returns 0 if successful
*/
DWORD WINAPI SheGetDirW(DWORD drive, LPWSTR buffer)
{
@ -1649,7 +1649,7 @@ DWORD WINAPI SheGetDirW(DWORD drive, LPWSTR buffer)
* SheChangeDirA [SHELL32.@]
*
* changes the current directory to the specified path
* and returns 0 if successfull
* and returns 0 if successful
*/
DWORD WINAPI SheChangeDirA(LPSTR path)
{
@ -1663,7 +1663,7 @@ DWORD WINAPI SheChangeDirA(LPSTR path)
* SheChangeDirW [SHELL32.@]
*
* changes the current directory to the specified path
* and returns 0 if successfull
* and returns 0 if successful
*/
DWORD WINAPI SheChangeDirW(LPWSTR path)
{

View File

@ -452,7 +452,7 @@ static HRESULT SetFormat(IDsDriverBufferImpl *This, LPWAVEFORMATEX pwfx, BOOL fo
err = snd_pcm_hw_params_get_period_size(hw_params, &psize, NULL);
TRACE("Period size is: %lu\n", psize);
/* ALSA needs at least 3 buffers to work succesfully */
/* ALSA needs at least 3 buffers to work successfully */
This->mmap_commitahead = 3 * psize;
while (This->mmap_commitahead <= 512)
This->mmap_commitahead += psize;

View File

@ -1876,7 +1876,7 @@ static DWORD widOpen(WORD wDevID, LPWAVEOPENDESC lpDesc, DWORD dwFlags)
}
/* Keep a copy of the buffer list structure (but not the buffers themselves)
* in case AudioUnitRender clobbers the original, as it is wont to do. */
* in case AudioUnitRender clobbers the original, as it won't to do. */
wwi->bufferListCopy = HeapAlloc(GetProcessHeap(), 0, AUDIOBUFFERLISTSIZE(wwi->bufferList->mNumberBuffers));
if (wwi->bufferListCopy == NULL)
{

View File

@ -1245,8 +1245,8 @@ HRESULT tesselate_rectpatch(IWineD3DDeviceImpl *This,
ENTER_GL();
/* Simply activate the context for blitting. This disables all the things we don't want and
* takes care for dirtifying. Dirtifying is prefered over pushing / popping, since drawing the
* patch(as opposed to normal draws) will most likely need different changes anyway
* takes care of dirtifying. Dirtifying is preferred over pushing / popping, since drawing the
* patch (as opposed to normal draws) will most likely need different changes anyway
*/
ActivateContext(This, This->lastActiveRenderTarget, CTXUSAGE_BLIT);