Assorted spelling fixes.
Francois Gouget
fgouget at free.fr
Thu Jul 5 09:10:30 CDT 2007
---
dlls/advapi32/tests/lsa.c | 2 +-
dlls/crypt32/tests/msg.c | 2 +-
dlls/ddraw/tests/dsurface.c | 2 +-
dlls/dsound/primary.c | 4 ++--
dlls/ntprint/ntprint.c | 2 +-
dlls/setupapi/tests/install.c | 2 +-
dlls/winealsa.drv/dsoutput.c | 10 +++++-----
include/basetsd.h | 2 +-
programs/cmd/builtins.c | 2 +-
programs/cmd/wcmdmain.c | 4 ++--
10 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/dlls/advapi32/tests/lsa.c b/dlls/advapi32/tests/lsa.c
index 575fc21..4035416 100644
--- a/dlls/advapi32/tests/lsa.c
+++ b/dlls/advapi32/tests/lsa.c
@@ -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) {
diff --git a/dlls/crypt32/tests/msg.c b/dlls/crypt32/tests/msg.c
index 16ab7f6..20b52ad 100644
--- a/dlls/crypt32/tests/msg.c
+++ b/dlls/crypt32/tests/msg.c
@@ -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,
diff --git a/dlls/ddraw/tests/dsurface.c b/dlls/ddraw/tests/dsurface.c
index b0a2195..e999aeb 100644
--- a/dlls/ddraw/tests/dsurface.c
+++ b/dlls/ddraw/tests/dsurface.c
@@ -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;
diff --git a/dlls/dsound/primary.c b/dlls/dsound/primary.c
index d8d7dc6..a89889c 100644
--- a/dlls/dsound/primary.c
+++ b/dlls/dsound/primary.c
@@ -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));
/* **** */
diff --git a/dlls/ntprint/ntprint.c b/dlls/ntprint/ntprint.c
index ece26ef..32a2c08 100644
--- a/dlls/ntprint/ntprint.c
+++ b/dlls/ntprint/ntprint.c
@@ -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
diff --git a/dlls/setupapi/tests/install.c b/dlls/setupapi/tests/install.c
index 124f831..3145ae4 100644
--- a/dlls/setupapi/tests/install.c
+++ b/dlls/setupapi/tests/install.c
@@ -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.
*/
diff --git a/dlls/winealsa.drv/dsoutput.c b/dlls/winealsa.drv/dsoutput.c
index e6958d3..c5ad141 100644
--- a/dlls/winealsa.drv/dsoutput.c
+++ b/dlls/winealsa.drv/dsoutput.c
@@ -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;
}
diff --git a/include/basetsd.h b/include/basetsd.h
index dcdf8fa..7fba324 100644
--- a/include/basetsd.h
+++ b/include/basetsd.h
@@ -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.
diff --git a/programs/cmd/builtins.c b/programs/cmd/builtins.c
index 482d870..33e96c1 100644
--- a/programs/cmd/builtins.c
+++ b/programs/cmd/builtins.c
@@ -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 */
diff --git a/programs/cmd/wcmdmain.c b/programs/cmd/wcmdmain.c
index 36b8612..247ee81 100644
--- a/programs/cmd/wcmdmain.c
+++ b/programs/cmd/wcmdmain.c
@@ -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
--
1.4.4.4
More information about the wine-patches
mailing list