Assorted spelling fixes.

This commit is contained in:
Francois Gouget 2007-07-05 16:10:30 +02:00 committed by Alexandre Julliard
parent 090fd6d9d2
commit a3317a5c01
10 changed files with 16 additions and 16 deletions

View File

@ -85,7 +85,7 @@ static void test_lsa(void)
status = pLsaQueryInformationPolicy(handle, PolicyAuditEventsInformation, (PVOID*)&audit_events_info);
if (status == STATUS_ACCESS_DENIED)
skip("Not enought rights to retrieve PolicyAuditEventsInformation\n");
skip("Not enough rights to retrieve PolicyAuditEventsInformation\n");
else
ok(status == STATUS_SUCCESS, "LsaQueryInformationPolicy(PolicyAuditEventsInformation) failed, returned 0x%08x\n", status);
if (status == STATUS_SUCCESS) {

View File

@ -358,7 +358,7 @@ static void test_data_msg_update(void)
msg = CryptMsgOpenToEncode(PKCS_7_ASN_ENCODING, CMSG_DETACHED_FLAG,
CMSG_DATA, NULL, NULL, NULL);
/* Dont appear to be able to update CMSG-DATA with non-final updates */
/* Doesn't appear to be able to update CMSG-DATA with non-final updates */
SetLastError(0xdeadbeef);
ret = CryptMsgUpdate(msg, NULL, 0, FALSE);
ok(!ret && GetLastError() == E_INVALIDARG,

View File

@ -2315,7 +2315,7 @@ static void StructSizeTest(void)
union {
DDSURFACEDESC desc1;
DDSURFACEDESC2 desc2;
char blob[1024]; /* To get a buch of writeable memory */
char blob[1024]; /* To get a bunch of writable memory */
} desc;
DDSURFACEDESC create;
HRESULT hr;

View File

@ -48,7 +48,7 @@ static void DSOUND_RecalcPrimary(DirectSoundDevice *device)
* If DS_TIME_DEL is about 10 ms, 512 * nBlockAlign is roughly correct */
fraglen = 512 * nBlockAlign;
/* Compensate for only being rougly accurate */
/* Compensate for only being roughly accurate */
if (device->pwfx->nSamplesPerSec <= 26000)
fraglen /= 2;
@ -324,7 +324,7 @@ HRESULT DSOUND_PrimaryStop(DirectSoundDevice *device)
}
} else {
/* dont call the wave system with the lock set */
/* don't call the wave system with the lock set */
LeaveCriticalSection(&(device->mixlock));
/* **** */

View File

@ -131,7 +131,7 @@ VOID WINAPI PSetupDestroyMonitorInfo(HANDLE monitorinfo)
* index [I] Nr. of the Monitorname to copy
* buffer [I] Target, that receive the Monitorname
* psize [IO] PTR to a DWORD that hold the size of the buffer and receive
* the needed size, when the buffer is to small
* the needed size, when the buffer is too small
*
* RETURNS
* Success: TRUE

View File

@ -43,7 +43,7 @@ static char CURR_DIR[MAX_PATH];
* occurs (e.g., unquoted inf file with spaces, registry keys are written but last error is 6). Also, on Win98 last error
* is set to ERROR_SUCCESS even if install fails (e.g., quoted inf file with spaces, no registry keys set, MessageBox with
* "Installation Error" displayed). Thus, we must use functional tests (e.g., is registry key created) to determine whether
* or not installation occured.
* or not installation occurred.
* - On installation problems, a MessageBox() is displayed and a Beep() is issued. The MessageBox() is disabled with a
* CBT hook.
*/

View File

@ -328,7 +328,7 @@ static HRESULT SetFormat(IDsDriverBufferImpl *This, LPWAVEFORMATEX pwfx, BOOL fo
{
/* **** */
LeaveCriticalSection(&This->pcm_crst);
WARN("Can not open sound device: %s\n", snd_strerror(err));
WARN("Cannot open sound device: %s\n", snd_strerror(err));
return DSERR_GENERIC;
}
snd_pcm_drop(This->pcm);
@ -339,7 +339,7 @@ static HRESULT SetFormat(IDsDriverBufferImpl *This, LPWAVEFORMATEX pwfx, BOOL fo
{
/* **** */
LeaveCriticalSection(&This->pcm_crst);
WARN("Can not open sound device: %s\n", snd_strerror(err));
WARN("Cannot open sound device: %s\n", snd_strerror(err));
return DSERR_BUFFERLOST;
}
}
@ -353,7 +353,7 @@ static HRESULT SetFormat(IDsDriverBufferImpl *This, LPWAVEFORMATEX pwfx, BOOL fo
if (err < 0) { WARN("Could not set format to %d bpp\n", pwfx->wBitsPerSample); goto err; }
/* Alsa's rate resampling is only used if the application specifically requests
* a buffer at a certain frequency, else it is better to disable due to unwanted
* a buffer at a certain frequency, else it is better to disable it due to unwanted
* side effects, which may include: Less granular pointer, changing buffer sizes, etc
*/
#if SND_LIB_VERSION >= 0x010009
@ -383,7 +383,7 @@ static HRESULT SetFormat(IDsDriverBufferImpl *This, LPWAVEFORMATEX pwfx, BOOL fo
TRACE("Period size is: %lu\n", psize);
/* If period size is 'high', try to commit less
* dmix needs at least 2 buffers to work succesfully but prefers 3
* dmix needs at least 2 buffers to work successfully but prefers 3
* however it seems to work ok if I just commit 2 1/2 buffers
*/
if (psize >= 512)
@ -709,7 +709,7 @@ static HRESULT WINAPI IDsDriverImpl_CreateSoundBuffer(PIDSDRIVER iface,
err = SetFormat(*ippdsdb, pwfx, FALSE);
if (FAILED(err))
{
WARN("Error occured: %08x\n", err);
WARN("Error occurred: %08x\n", err);
goto err;
}

View File

@ -32,7 +32,7 @@ extern "C" {
* and pointer are 32-bit.
*
* Win64, however, will cause some problems when implemented under Unix.
* Linux/{Alpha, Sparc64} and most (all?) other 64-bit Unices uses
* Linux/{Alpha, Sparc64} and most (all?) other 64-bit Unices use
* the LP64 type model where int is 32-bit and long and pointer are
* 64-bit. Win64 on the other hand uses the P64 (sometimes called LLP64)
* type model where int and long are 32 bit and pointer is 64-bit.

View File

@ -734,7 +734,7 @@ void WCMD_part_execute(CMD_LIST **cmdList, WCHAR *firstcmd, WCHAR *variable,
}
/* If it didnt move the position, step to next command */
/* If it didn't move the position, step to next command */
if (curPosition == *cmdList) *cmdList = (*cmdList)->nextcommand;
/* Process any other parts of the command */

View File

@ -497,7 +497,7 @@ void WCMD_process_command (WCHAR *command, CMD_LIST **cmdList)
while ((p = strchrW(p, '%'))) {
i = *(p+1) - '0';
/* Dont touch %% */
/* Don't touch %% */
if (*(p+1) == '%') {
p+=2;
@ -1895,7 +1895,7 @@ void WCMD_DumpCommands(CMD_LIST *commands) {
*
* Either uses supplied input or
* Reads a file from the handle, and then...
* Parse the text buffer, spliting into seperate commands
* Parse the text buffer, spliting into separate commands
* - unquoted && strings split 2 commands but the 2nd is flagged as
* following an &&
* - ( as the first character just ups the bracket depth