mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-01 09:50:52 +00:00
Assorted spelling fixes.
This commit is contained in:
parent
090fd6d9d2
commit
a3317a5c01
10 changed files with 16 additions and 16 deletions
|
@ -85,7 +85,7 @@ static void test_lsa(void)
|
||||||
|
|
||||||
status = pLsaQueryInformationPolicy(handle, PolicyAuditEventsInformation, (PVOID*)&audit_events_info);
|
status = pLsaQueryInformationPolicy(handle, PolicyAuditEventsInformation, (PVOID*)&audit_events_info);
|
||||||
if (status == STATUS_ACCESS_DENIED)
|
if (status == STATUS_ACCESS_DENIED)
|
||||||
skip("Not enought rights to retrieve PolicyAuditEventsInformation\n");
|
skip("Not enough rights to retrieve PolicyAuditEventsInformation\n");
|
||||||
else
|
else
|
||||||
ok(status == STATUS_SUCCESS, "LsaQueryInformationPolicy(PolicyAuditEventsInformation) failed, returned 0x%08x\n", status);
|
ok(status == STATUS_SUCCESS, "LsaQueryInformationPolicy(PolicyAuditEventsInformation) failed, returned 0x%08x\n", status);
|
||||||
if (status == STATUS_SUCCESS) {
|
if (status == STATUS_SUCCESS) {
|
||||||
|
|
|
@ -358,7 +358,7 @@ static void test_data_msg_update(void)
|
||||||
|
|
||||||
msg = CryptMsgOpenToEncode(PKCS_7_ASN_ENCODING, CMSG_DETACHED_FLAG,
|
msg = CryptMsgOpenToEncode(PKCS_7_ASN_ENCODING, CMSG_DETACHED_FLAG,
|
||||||
CMSG_DATA, NULL, NULL, NULL);
|
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);
|
SetLastError(0xdeadbeef);
|
||||||
ret = CryptMsgUpdate(msg, NULL, 0, FALSE);
|
ret = CryptMsgUpdate(msg, NULL, 0, FALSE);
|
||||||
ok(!ret && GetLastError() == E_INVALIDARG,
|
ok(!ret && GetLastError() == E_INVALIDARG,
|
||||||
|
|
|
@ -2315,7 +2315,7 @@ static void StructSizeTest(void)
|
||||||
union {
|
union {
|
||||||
DDSURFACEDESC desc1;
|
DDSURFACEDESC desc1;
|
||||||
DDSURFACEDESC2 desc2;
|
DDSURFACEDESC2 desc2;
|
||||||
char blob[1024]; /* To get a buch of writeable memory */
|
char blob[1024]; /* To get a bunch of writable memory */
|
||||||
} desc;
|
} desc;
|
||||||
DDSURFACEDESC create;
|
DDSURFACEDESC create;
|
||||||
HRESULT hr;
|
HRESULT hr;
|
||||||
|
|
|
@ -48,7 +48,7 @@ static void DSOUND_RecalcPrimary(DirectSoundDevice *device)
|
||||||
* If DS_TIME_DEL is about 10 ms, 512 * nBlockAlign is roughly correct */
|
* If DS_TIME_DEL is about 10 ms, 512 * nBlockAlign is roughly correct */
|
||||||
fraglen = 512 * nBlockAlign;
|
fraglen = 512 * nBlockAlign;
|
||||||
|
|
||||||
/* Compensate for only being rougly accurate */
|
/* Compensate for only being roughly accurate */
|
||||||
if (device->pwfx->nSamplesPerSec <= 26000)
|
if (device->pwfx->nSamplesPerSec <= 26000)
|
||||||
fraglen /= 2;
|
fraglen /= 2;
|
||||||
|
|
||||||
|
@ -324,7 +324,7 @@ HRESULT DSOUND_PrimaryStop(DirectSoundDevice *device)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
/* dont call the wave system with the lock set */
|
/* don't call the wave system with the lock set */
|
||||||
LeaveCriticalSection(&(device->mixlock));
|
LeaveCriticalSection(&(device->mixlock));
|
||||||
/* **** */
|
/* **** */
|
||||||
|
|
||||||
|
|
|
@ -131,7 +131,7 @@ VOID WINAPI PSetupDestroyMonitorInfo(HANDLE monitorinfo)
|
||||||
* index [I] Nr. of the Monitorname to copy
|
* index [I] Nr. of the Monitorname to copy
|
||||||
* buffer [I] Target, that receive the Monitorname
|
* buffer [I] Target, that receive the Monitorname
|
||||||
* psize [IO] PTR to a DWORD that hold the size of the buffer and receive
|
* 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
|
* RETURNS
|
||||||
* Success: TRUE
|
* Success: TRUE
|
||||||
|
|
|
@ -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
|
* 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
|
* 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
|
* "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
|
* - On installation problems, a MessageBox() is displayed and a Beep() is issued. The MessageBox() is disabled with a
|
||||||
* CBT hook.
|
* CBT hook.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -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; }
|
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
|
/* 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
|
* side effects, which may include: Less granular pointer, changing buffer sizes, etc
|
||||||
*/
|
*/
|
||||||
#if SND_LIB_VERSION >= 0x010009
|
#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);
|
TRACE("Period size is: %lu\n", psize);
|
||||||
|
|
||||||
/* If period size is 'high', try to commit less
|
/* 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
|
* however it seems to work ok if I just commit 2 1/2 buffers
|
||||||
*/
|
*/
|
||||||
if (psize >= 512)
|
if (psize >= 512)
|
||||||
|
@ -709,7 +709,7 @@ static HRESULT WINAPI IDsDriverImpl_CreateSoundBuffer(PIDSDRIVER iface,
|
||||||
err = SetFormat(*ippdsdb, pwfx, FALSE);
|
err = SetFormat(*ippdsdb, pwfx, FALSE);
|
||||||
if (FAILED(err))
|
if (FAILED(err))
|
||||||
{
|
{
|
||||||
WARN("Error occured: %08x\n", err);
|
WARN("Error occurred: %08x\n", err);
|
||||||
goto err;
|
goto err;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,7 @@ extern "C" {
|
||||||
* and pointer are 32-bit.
|
* and pointer are 32-bit.
|
||||||
*
|
*
|
||||||
* Win64, however, will cause some problems when implemented under Unix.
|
* 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
|
* 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)
|
* 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.
|
* type model where int and long are 32 bit and pointer is 64-bit.
|
||||||
|
|
|
@ -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;
|
if (curPosition == *cmdList) *cmdList = (*cmdList)->nextcommand;
|
||||||
|
|
||||||
/* Process any other parts of the command */
|
/* Process any other parts of the command */
|
||||||
|
|
|
@ -497,7 +497,7 @@ void WCMD_process_command (WCHAR *command, CMD_LIST **cmdList)
|
||||||
while ((p = strchrW(p, '%'))) {
|
while ((p = strchrW(p, '%'))) {
|
||||||
i = *(p+1) - '0';
|
i = *(p+1) - '0';
|
||||||
|
|
||||||
/* Dont touch %% */
|
/* Don't touch %% */
|
||||||
if (*(p+1) == '%') {
|
if (*(p+1) == '%') {
|
||||||
p+=2;
|
p+=2;
|
||||||
|
|
||||||
|
@ -1895,7 +1895,7 @@ void WCMD_DumpCommands(CMD_LIST *commands) {
|
||||||
*
|
*
|
||||||
* Either uses supplied input or
|
* Either uses supplied input or
|
||||||
* Reads a file from the handle, and then...
|
* 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
|
* - unquoted && strings split 2 commands but the 2nd is flagged as
|
||||||
* following an &&
|
* following an &&
|
||||||
* - ( as the first character just ups the bracket depth
|
* - ( as the first character just ups the bracket depth
|
||||||
|
|
Loading…
Reference in a new issue