Commit 14a5d168 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

Fixed some common spelling errors.

parent d27b8c96
...@@ -62,7 +62,7 @@ static HBITMAP hComboBmp = 0; ...@@ -62,7 +62,7 @@ static HBITMAP hComboBmp = 0;
static UINT CBitHeight, CBitWidth; static UINT CBitHeight, CBitWidth;
/* /*
* Look and feel dependant "constants" * Look and feel dependent "constants"
*/ */
#define COMBO_YBORDERGAP 5 #define COMBO_YBORDERGAP 5
......
...@@ -2004,7 +2004,7 @@ BOOL __cdecl FDICopy( ...@@ -2004,7 +2004,7 @@ BOOL __cdecl FDICopy(
TRACE("Extracting file %s as requested by callee.\n", debugstr_a(file->filename)); TRACE("Extracting file %s as requested by callee.\n", debugstr_a(file->filename));
/* set up decomp_state (unneccesary?); at least /* set up decomp_state (unnecessary?); at least
ignore trailing three pointers in the struct */ ignore trailing three pointers in the struct */
ZeroMemory(decomp_state, sizeof(fdi_decomp_state) - sizeof(void*) * 3); ZeroMemory(decomp_state, sizeof(fdi_decomp_state) - sizeof(void*) * 3);
CAB(hfdi) = hfdi; CAB(hfdi) = hfdi;
......
...@@ -413,12 +413,12 @@ static HRESULT WINAPI IDirectSound3DBufferImpl_GetAllParameters( ...@@ -413,12 +413,12 @@ static HRESULT WINAPI IDirectSound3DBufferImpl_GetAllParameters(
TRACE("(%p,%p)\n",This,lpDs3dBuffer); TRACE("(%p,%p)\n",This,lpDs3dBuffer);
if (lpDs3dBuffer == NULL) { if (lpDs3dBuffer == NULL) {
WARN("invalid paramater: lpDs3dBuffer == NULL\n"); WARN("invalid parameter: lpDs3dBuffer == NULL\n");
return DSERR_INVALIDPARAM; return DSERR_INVALIDPARAM;
} }
if (lpDs3dBuffer->dwSize < sizeof(*lpDs3dBuffer)) { if (lpDs3dBuffer->dwSize < sizeof(*lpDs3dBuffer)) {
WARN("invalid paramater: lpDs3dBuffer->dwSize = %ld < %d\n",lpDs3dBuffer->dwSize, sizeof(*lpDs3dBuffer)); WARN("invalid parameter: lpDs3dBuffer->dwSize = %ld < %d\n",lpDs3dBuffer->dwSize, sizeof(*lpDs3dBuffer));
return DSERR_INVALIDPARAM; return DSERR_INVALIDPARAM;
} }
...@@ -881,12 +881,12 @@ static HRESULT WINAPI IDirectSound3DListenerImpl_GetAllParameter( ...@@ -881,12 +881,12 @@ static HRESULT WINAPI IDirectSound3DListenerImpl_GetAllParameter(
TRACE("(%p,%p)\n",This,lpDS3DL); TRACE("(%p,%p)\n",This,lpDS3DL);
if (lpDS3DL == NULL) { if (lpDS3DL == NULL) {
WARN("invalid paramater: lpDS3DL == NULL\n"); WARN("invalid parameter: lpDS3DL == NULL\n");
return DSERR_INVALIDPARAM; return DSERR_INVALIDPARAM;
} }
if (lpDS3DL->dwSize < sizeof(*lpDS3DL)) { if (lpDS3DL->dwSize < sizeof(*lpDS3DL)) {
WARN("invalid paramater: lpDS3DL->dwSize = %ld < %d\n",lpDS3DL->dwSize, sizeof(*lpDS3DL)); WARN("invalid parameter: lpDS3DL->dwSize = %ld < %d\n",lpDS3DL->dwSize, sizeof(*lpDS3DL));
return DSERR_INVALIDPARAM; return DSERR_INVALIDPARAM;
} }
......
...@@ -134,7 +134,7 @@ DWORD WINAPI FormatMessageA( ...@@ -134,7 +134,7 @@ DWORD WINAPI FormatMessageA(
{ {
LPDWORD args=(LPDWORD)_args; LPDWORD args=(LPDWORD)_args;
#if defined(__i386__) || defined(__sparc__) #if defined(__i386__) || defined(__sparc__)
/* This implementation is completely dependant on the format of the va_list on x86 CPUs */ /* This implementation is completely dependent on the format of the va_list on x86 CPUs */
LPSTR target,t; LPSTR target,t;
DWORD talloced; DWORD talloced;
LPSTR from,f; LPSTR from,f;
...@@ -361,7 +361,7 @@ DWORD WINAPI FormatMessageW( ...@@ -361,7 +361,7 @@ DWORD WINAPI FormatMessageW(
{ {
LPDWORD args=(LPDWORD)_args; LPDWORD args=(LPDWORD)_args;
#if defined(__i386__) || defined(__sparc__) #if defined(__i386__) || defined(__sparc__)
/* This implementation is completely dependant on the format of the va_list on x86 CPUs */ /* This implementation is completely dependent on the format of the va_list on x86 CPUs */
LPSTR target,t; LPSTR target,t;
DWORD talloced; DWORD talloced;
LPSTR from,f; LPSTR from,f;
......
...@@ -402,7 +402,7 @@ VOID WINAPI RtlTimeToTimeFields( ...@@ -402,7 +402,7 @@ VOID WINAPI RtlTimeToTimeFields(
* Time [O] Converted time. * Time [O] Converted time.
* *
* RETURNS * RETURNS
* TRUE: Successfull * TRUE: Successful.
* FALSE: Failure. * FALSE: Failure.
*/ */
BOOLEAN WINAPI RtlTimeFieldsToTime( BOOLEAN WINAPI RtlTimeFieldsToTime(
...@@ -508,7 +508,7 @@ NTSTATUS WINAPI RtlSystemTimeToLocalTime( const LARGE_INTEGER *SystemTime, ...@@ -508,7 +508,7 @@ NTSTATUS WINAPI RtlSystemTimeToLocalTime( const LARGE_INTEGER *SystemTime,
* res [O] Pointer to a LONG to receive the seconds since 1970. * res [O] Pointer to a LONG to receive the seconds since 1970.
* *
* RETURNS * RETURNS
* TRUE: Successfull. * TRUE: Successful.
* FALSE: Failure. * FALSE: Failure.
*/ */
BOOLEAN WINAPI RtlTimeToSecondsSince1970( const LARGE_INTEGER *time, PULONG res ) BOOLEAN WINAPI RtlTimeToSecondsSince1970( const LARGE_INTEGER *time, PULONG res )
...@@ -531,7 +531,7 @@ BOOLEAN WINAPI RtlTimeToSecondsSince1970( const LARGE_INTEGER *time, PULONG res ...@@ -531,7 +531,7 @@ BOOLEAN WINAPI RtlTimeToSecondsSince1970( const LARGE_INTEGER *time, PULONG res
* res [O] Pointer to a integer to receive the time since 1980. * res [O] Pointer to a integer to receive the time since 1980.
* *
* RETURNS * RETURNS
* TRUE: Successfull * TRUE: Successful.
* FALSE: Failure. * FALSE: Failure.
*/ */
BOOLEAN WINAPI RtlTimeToSecondsSince1980( const LARGE_INTEGER *time, LPDWORD res ) BOOLEAN WINAPI RtlTimeToSecondsSince1980( const LARGE_INTEGER *time, LPDWORD res )
......
...@@ -1832,7 +1832,7 @@ static HRESULT WINAPI DataCache_GetExtent( ...@@ -1832,7 +1832,7 @@ static HRESULT WINAPI DataCache_GetExtent(
FIXME("Unimplemented flag lindex = %ld\n", lindex); FIXME("Unimplemented flag lindex = %ld\n", lindex);
/* /*
* Right now, we suport only the callback from * Right now, we support only the callback from
* the default handler. * the default handler.
*/ */
if (ptd!=NULL) if (ptd!=NULL)
......
...@@ -211,7 +211,7 @@ HRESULT WINAPI RunningObjectTableImpl_Initialize() ...@@ -211,7 +211,7 @@ HRESULT WINAPI RunningObjectTableImpl_Initialize()
runningObjectTableInstance->lpVtbl = &VT_RunningObjectTableImpl; runningObjectTableInstance->lpVtbl = &VT_RunningObjectTableImpl;
/* the initial reference is set to "1" ! because if set to "0" it will be not practis when */ /* the initial reference is set to "1" ! because if set to "0" it will be not practis when */
/* the ROT refered many times not in the same time (all the objects in the ROT will */ /* the ROT referred many times not in the same time (all the objects in the ROT will */
/* be removed every time the ROT is removed ) */ /* be removed every time the ROT is removed ) */
runningObjectTableInstance->ref = 1; runningObjectTableInstance->ref = 1;
......
...@@ -917,7 +917,7 @@ static void OLEMenu_UnInitialize() ...@@ -917,7 +917,7 @@ static void OLEMenu_UnInitialize()
* OLEMenu_InstallHooks * OLEMenu_InstallHooks
* Install thread scope message hooks for WH_GETMESSAGE and WH_CALLWNDPROC * Install thread scope message hooks for WH_GETMESSAGE and WH_CALLWNDPROC
* *
* RETURNS: TRUE if message hooks were succesfully installed * RETURNS: TRUE if message hooks were successfully installed
* FALSE on failure * FALSE on failure
*/ */
BOOL OLEMenu_InstallHooks( DWORD tid ) BOOL OLEMenu_InstallHooks( DWORD tid )
...@@ -966,7 +966,7 @@ CLEANUP: ...@@ -966,7 +966,7 @@ CLEANUP:
* OLEMenu_UnInstallHooks * OLEMenu_UnInstallHooks
* UnInstall thread scope message hooks for WH_GETMESSAGE and WH_CALLWNDPROC * UnInstall thread scope message hooks for WH_GETMESSAGE and WH_CALLWNDPROC
* *
* RETURNS: TRUE if message hooks were succesfully installed * RETURNS: TRUE if message hooks were successfully installed
* FALSE on failure * FALSE on failure
*/ */
BOOL OLEMenu_UnInstallHooks( DWORD tid ) BOOL OLEMenu_UnInstallHooks( DWORD tid )
......
...@@ -658,7 +658,7 @@ static HRESULT WINAPI FilterMapper2_RegisterFilter( ...@@ -658,7 +658,7 @@ static HRESULT WINAPI FilterMapper2_RegisterFilter(
pclsidCategory = &CLSID_ActiveMovieCategories; pclsidCategory = &CLSID_ActiveMovieCategories;
/* sizeof... will include null terminator and /* sizeof... will include null terminator and
* the + 1 is for the seperator ('\\'). The -1 is * the + 1 is for the separator ('\\'). The -1 is
* because CHARS_IN_GUID includes the null terminator * because CHARS_IN_GUID includes the null terminator
*/ */
nameLen = sizeof(wszDevice)/sizeof(wszDevice[0]) + CHARS_IN_GUID - 1 + 1; nameLen = sizeof(wszDevice)/sizeof(wszDevice[0]) + CHARS_IN_GUID - 1 + 1;
......
...@@ -2555,8 +2555,8 @@ BOOL WINAPI PathMakePrettyW(LPWSTR lpszPath) ...@@ -2555,8 +2555,8 @@ BOOL WINAPI PathMakePrettyW(LPWSTR lpszPath)
* *
* NOTES * NOTES
* A common prefix of 2 is always returned as 3. It is thus possible for * A common prefix of 2 is always returned as 3. It is thus possible for
* the length returned to be invalid (i.e. Longer than one or both of the * the length returned to be invalid (i.e. longer than one or both of the
* strings given as parameters). This Win32 behaviour has been implimented * strings given as parameters). This Win32 behaviour has been implemented
* here, and cannot be changed (fixed?) without breaking other SHLWAPI calls. * here, and cannot be changed (fixed?) without breaking other SHLWAPI calls.
* To work around this when using this function, always check that the byte * To work around this when using this function, always check that the byte
* at [common_prefix_len-1] is not a NUL. If it is, deduct 1 from the prefix. * at [common_prefix_len-1] is not a NUL. If it is, deduct 1 from the prefix.
......
...@@ -484,7 +484,7 @@ typedef struct { ...@@ -484,7 +484,7 @@ typedef struct {
char Reserved[512]; /**/ char Reserved[512]; /**/
} TW_FILESYSTEM, FAR * pTW_FILESYSTEM; } TW_FILESYSTEM, FAR * pTW_FILESYSTEM;
/* DAT_PASSTHRU, device dependant data to pass through Data Source */ /* DAT_PASSTHRU, device dependent data to pass through Data Source */
typedef struct { typedef struct {
TW_MEMREF pCommand; /* Pointer to Command buffer */ TW_MEMREF pCommand; /* Pointer to Command buffer */
TW_UINT32 CommandBytes; /* Number of bytes in Command buffer */ TW_UINT32 CommandBytes; /* Number of bytes in Command buffer */
...@@ -1684,8 +1684,8 @@ typedef struct { ...@@ -1684,8 +1684,8 @@ typedef struct {
#define TWCC_BUMMER 1 /* Failure due to unknown causes */ #define TWCC_BUMMER 1 /* Failure due to unknown causes */
#define TWCC_LOWMEMORY 2 /* Not enough memory to perform operation */ #define TWCC_LOWMEMORY 2 /* Not enough memory to perform operation */
#define TWCC_NODS 3 /* No Data Source */ #define TWCC_NODS 3 /* No Data Source */
#define TWCC_MAXCONNECTIONS 4 /* DS is connected to max possible applications */ #define TWCC_MAXCONNECTIONS 4 /* DS is connected to max possible applications */
#define TWCC_OPERATIONERROR 5 /* DS or DSM reported error, application shouldn't */ #define TWCC_OPERATIONERROR 5 /* DS or DSM reported error, application shouldn't */
#define TWCC_BADCAP 6 /* Unknown capability */ #define TWCC_BADCAP 6 /* Unknown capability */
#define TWCC_BADPROTOCOL 9 /* Unrecognized MSG DG DAT combination */ #define TWCC_BADPROTOCOL 9 /* Unrecognized MSG DG DAT combination */
#define TWCC_BADVALUE 10 /* Data parameter out of range */ #define TWCC_BADVALUE 10 /* Data parameter out of range */
...@@ -1693,7 +1693,7 @@ typedef struct { ...@@ -1693,7 +1693,7 @@ typedef struct {
#define TWCC_BADDEST 12 /* Unknown destination Application/Source in DSM_Entry */ #define TWCC_BADDEST 12 /* Unknown destination Application/Source in DSM_Entry */
#define TWCC_CAPUNSUPPORTED 13 /* Capability not supported by source */ #define TWCC_CAPUNSUPPORTED 13 /* Capability not supported by source */
#define TWCC_CAPBADOPERATION 14 /* Operation not supported by capability */ #define TWCC_CAPBADOPERATION 14 /* Operation not supported by capability */
#define TWCC_CAPSEQERROR 15 /* Capability has dependancy on other capability */ #define TWCC_CAPSEQERROR 15 /* Capability has dependency on other capability */
/* Added 1.8 */ /* Added 1.8 */
#define TWCC_DENIED 16 /* File System operation is denied (file is protected) */ #define TWCC_DENIED 16 /* File System operation is denied (file is protected) */
#define TWCC_FILEEXISTS 17 /* Operation failed because file already exists. */ #define TWCC_FILEEXISTS 17 /* Operation failed because file already exists. */
......
...@@ -596,7 +596,7 @@ DWORD WINAPI FormatMessage16( ...@@ -596,7 +596,7 @@ DWORD WINAPI FormatMessage16(
LPDWORD args /* [in] NOTE: va_list *args */ LPDWORD args /* [in] NOTE: va_list *args */
) { ) {
#ifdef __i386__ #ifdef __i386__
/* This implementation is completely dependant on the format of the va_list on x86 CPUs */ /* This implementation is completely dependent on the format of the va_list on x86 CPUs */
LPSTR target,t; LPSTR target,t;
DWORD talloced; DWORD talloced;
LPSTR from,f; LPSTR from,f;
......
...@@ -2317,7 +2317,7 @@ BOOL WINAPI InternetQueryDataAvailable( HINTERNET hFile, ...@@ -2317,7 +2317,7 @@ BOOL WINAPI InternetQueryDataAvailable( HINTERNET hFile,
break; break;
default: default:
FIXME("unsuported file type\n"); FIXME("unsupported file type\n");
break; break;
} }
......
...@@ -1554,7 +1554,7 @@ static DWORD modReset(WORD wDevID) ...@@ -1554,7 +1554,7 @@ static DWORD modReset(WORD wDevID)
if (!MidiOutDev[wDevID].bEnabled) return MIDIERR_NODEVICE; if (!MidiOutDev[wDevID].bEnabled) return MIDIERR_NODEVICE;
/* stop all notes */ /* stop all notes */
/* FIXME: check if 0x78B0 is channel dependant or not. I coded it so that /* FIXME: check if 0x78B0 is channel dependent or not. I coded it so that
* it's channel dependent... * it's channel dependent...
*/ */
for (chn = 0; chn < 16; chn++) { for (chn = 0; chn < 16; chn++) {
......
...@@ -1131,7 +1131,7 @@ Kernel space | Client applications ...@@ -1131,7 +1131,7 @@ Kernel space | Client applications
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
all hardware (or most of it) dependant code reside in the kernel all hardware (or most of it) dependent code reside in the kernel
space (which is not surprising) space (which is not surprising)
</para> </para>
</listitem> </listitem>
......
...@@ -194,7 +194,7 @@ int X11DRV_ChoosePixelFormat(X11DRV_PDEVICE *physDev, ...@@ -194,7 +194,7 @@ int X11DRV_ChoosePixelFormat(X11DRV_PDEVICE *physDev,
NULL_TEST_AND_ADD2(ppfd->cAlphaBits, GLX_ALPHA_SIZE, 8); NULL_TEST_AND_ADD2(ppfd->cAlphaBits, GLX_ALPHA_SIZE, 8);
ADD2(GLX_ACCUM_SIZE, ppfd->cAccumBits); */ ADD2(GLX_ACCUM_SIZE, ppfd->cAccumBits); */
ADD2(GLX_STENCIL_SIZE, ppfd->cStencilBits); /* now suported */ ADD2(GLX_STENCIL_SIZE, ppfd->cStencilBits); /* now supported */
/* ADD2(GLX_AUX_BUFFERS, ppfd->cAuxBuffers); */ /* ADD2(GLX_AUX_BUFFERS, ppfd->cAuxBuffers); */
att_list[att_pos] = None; att_list[att_pos] = None;
......
...@@ -846,7 +846,7 @@ VOID WINAPI SetMagicColors16(HDC16 hDC, COLORREF color, UINT16 index) ...@@ -846,7 +846,7 @@ VOID WINAPI SetMagicColors16(HDC16 hDC, COLORREF color, UINT16 index)
* for that DC. * for that DC.
* *
* RETURNS * RETURNS
* TRUE if name copied succesfully OR lpszFilename is NULL * TRUE if name copied successfully OR lpszFilename is NULL
* FALSE if the buffer length pointed to by lpcbName is too small * FALSE if the buffer length pointed to by lpcbName is too small
* *
* NOTE * NOTE
......
...@@ -118,7 +118,7 @@ int RegisterDll(char* strDll) ...@@ -118,7 +118,7 @@ int RegisterDll(char* strDll)
return -1; return -1;
} }
if(!Silent) if(!Silent)
printf("Succesfully registered dll %s\n", strDll); printf("Successfully registered dll %s\n", strDll);
if(DllHandle) if(DllHandle)
FreeLibrary(DllHandle); FreeLibrary(DllHandle);
...@@ -141,7 +141,7 @@ int UnregisterDll(char* strDll) ...@@ -141,7 +141,7 @@ int UnregisterDll(char* strDll)
return -1; return -1;
} }
if(!Silent) if(!Silent)
printf("Succesfully unregistered dll %s\n", strDll); printf("Successfully unregistered dll %s\n", strDll);
if(DllHandle) if(DllHandle)
FreeLibrary(DllHandle); FreeLibrary(DllHandle);
...@@ -164,7 +164,7 @@ int InstallDll(BOOL install, char *strDll, WCHAR *command_line) ...@@ -164,7 +164,7 @@ int InstallDll(BOOL install, char *strDll, WCHAR *command_line)
return -1; return -1;
} }
if(!Silent) if(!Silent)
printf("Succesfully %s dll %s\n", install ? "installed" : "uninstalled", printf("Successfully %s dll %s\n", install ? "installed" : "uninstalled",
strDll); strDll);
if(DllHandle) if(DllHandle)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment