From 14a5d168e945ce35cb224035a6252f0e80a206db Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Wed, 2 Jul 2003 04:37:26 +0000 Subject: [PATCH] Fixed some common spelling errors. --- controls/combo.c | 2 +- dlls/cabinet/fdi.c | 2 +- dlls/dsound/sound3d.c | 8 ++++---- dlls/kernel/format_msg.c | 4 ++-- dlls/ntdll/time.c | 6 +++--- dlls/ole32/datacache.c | 2 +- dlls/ole32/moniker.c | 2 +- dlls/ole32/ole2.c | 4 ++-- dlls/quartz/filtermapper.c | 2 +- dlls/shlwapi/path.c | 4 ++-- dlls/twain/twain.h | 8 ++++---- dlls/user/lstr.c | 2 +- dlls/wininet/internet.c | 2 +- dlls/winmm/wineoss/midi.c | 2 +- documentation/multimedia.sgml | 2 +- graphics/x11drv/opengl.c | 2 +- objects/palette.c | 2 +- programs/regsvr32/regsvr32.c | 6 +++--- 18 files changed, 31 insertions(+), 31 deletions(-) diff --git a/controls/combo.c b/controls/combo.c index b4f7e1b7365..e8619bde848 100644 --- a/controls/combo.c +++ b/controls/combo.c @@ -62,7 +62,7 @@ static HBITMAP hComboBmp = 0; static UINT CBitHeight, CBitWidth; /* - * Look and feel dependant "constants" + * Look and feel dependent "constants" */ #define COMBO_YBORDERGAP 5 diff --git a/dlls/cabinet/fdi.c b/dlls/cabinet/fdi.c index f2673014fea..aed6a94cb48 100644 --- a/dlls/cabinet/fdi.c +++ b/dlls/cabinet/fdi.c @@ -2004,7 +2004,7 @@ BOOL __cdecl FDICopy( 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 */ ZeroMemory(decomp_state, sizeof(fdi_decomp_state) - sizeof(void*) * 3); CAB(hfdi) = hfdi; diff --git a/dlls/dsound/sound3d.c b/dlls/dsound/sound3d.c index f955bf5751e..95a5d7d9f27 100644 --- a/dlls/dsound/sound3d.c +++ b/dlls/dsound/sound3d.c @@ -413,12 +413,12 @@ static HRESULT WINAPI IDirectSound3DBufferImpl_GetAllParameters( TRACE("(%p,%p)\n",This,lpDs3dBuffer); if (lpDs3dBuffer == NULL) { - WARN("invalid paramater: lpDs3dBuffer == NULL\n"); + WARN("invalid parameter: lpDs3dBuffer == NULL\n"); return DSERR_INVALIDPARAM; } 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; } @@ -881,12 +881,12 @@ static HRESULT WINAPI IDirectSound3DListenerImpl_GetAllParameter( TRACE("(%p,%p)\n",This,lpDS3DL); if (lpDS3DL == NULL) { - WARN("invalid paramater: lpDS3DL == NULL\n"); + WARN("invalid parameter: lpDS3DL == NULL\n"); return DSERR_INVALIDPARAM; } 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; } diff --git a/dlls/kernel/format_msg.c b/dlls/kernel/format_msg.c index 0d89ef8e145..42ab1095b75 100644 --- a/dlls/kernel/format_msg.c +++ b/dlls/kernel/format_msg.c @@ -134,7 +134,7 @@ DWORD WINAPI FormatMessageA( { LPDWORD args=(LPDWORD)_args; #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; DWORD talloced; LPSTR from,f; @@ -361,7 +361,7 @@ DWORD WINAPI FormatMessageW( { LPDWORD args=(LPDWORD)_args; #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; DWORD talloced; LPSTR from,f; diff --git a/dlls/ntdll/time.c b/dlls/ntdll/time.c index 083726b8e7a..2567a035ecf 100644 --- a/dlls/ntdll/time.c +++ b/dlls/ntdll/time.c @@ -402,7 +402,7 @@ VOID WINAPI RtlTimeToTimeFields( * Time [O] Converted time. * * RETURNS - * TRUE: Successfull + * TRUE: Successful. * FALSE: Failure. */ BOOLEAN WINAPI RtlTimeFieldsToTime( @@ -508,7 +508,7 @@ NTSTATUS WINAPI RtlSystemTimeToLocalTime( const LARGE_INTEGER *SystemTime, * res [O] Pointer to a LONG to receive the seconds since 1970. * * RETURNS - * TRUE: Successfull. + * TRUE: Successful. * FALSE: Failure. */ 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. * * RETURNS - * TRUE: Successfull + * TRUE: Successful. * FALSE: Failure. */ BOOLEAN WINAPI RtlTimeToSecondsSince1980( const LARGE_INTEGER *time, LPDWORD res ) diff --git a/dlls/ole32/datacache.c b/dlls/ole32/datacache.c index a5918d4edfd..ec2ac422985 100644 --- a/dlls/ole32/datacache.c +++ b/dlls/ole32/datacache.c @@ -1832,7 +1832,7 @@ static HRESULT WINAPI DataCache_GetExtent( 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. */ if (ptd!=NULL) diff --git a/dlls/ole32/moniker.c b/dlls/ole32/moniker.c index c85eff09c8a..04536176cad 100644 --- a/dlls/ole32/moniker.c +++ b/dlls/ole32/moniker.c @@ -211,7 +211,7 @@ HRESULT WINAPI RunningObjectTableImpl_Initialize() runningObjectTableInstance->lpVtbl = &VT_RunningObjectTableImpl; /* 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 ) */ runningObjectTableInstance->ref = 1; diff --git a/dlls/ole32/ole2.c b/dlls/ole32/ole2.c index 9e4c371d199..111238b7ef9 100644 --- a/dlls/ole32/ole2.c +++ b/dlls/ole32/ole2.c @@ -917,7 +917,7 @@ static void OLEMenu_UnInitialize() * OLEMenu_InstallHooks * 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 */ BOOL OLEMenu_InstallHooks( DWORD tid ) @@ -966,7 +966,7 @@ CLEANUP: * OLEMenu_UnInstallHooks * 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 */ BOOL OLEMenu_UnInstallHooks( DWORD tid ) diff --git a/dlls/quartz/filtermapper.c b/dlls/quartz/filtermapper.c index 6342e4e124a..98c86cc5cba 100644 --- a/dlls/quartz/filtermapper.c +++ b/dlls/quartz/filtermapper.c @@ -658,7 +658,7 @@ static HRESULT WINAPI FilterMapper2_RegisterFilter( pclsidCategory = &CLSID_ActiveMovieCategories; /* 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 */ nameLen = sizeof(wszDevice)/sizeof(wszDevice[0]) + CHARS_IN_GUID - 1 + 1; diff --git a/dlls/shlwapi/path.c b/dlls/shlwapi/path.c index 3be551f0efa..df775155171 100644 --- a/dlls/shlwapi/path.c +++ b/dlls/shlwapi/path.c @@ -2555,8 +2555,8 @@ BOOL WINAPI PathMakePrettyW(LPWSTR lpszPath) * * NOTES * 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 - * strings given as parameters). This Win32 behaviour has been implimented + * the length returned to be invalid (i.e. longer than one or both of the + * strings given as parameters). This Win32 behaviour has been implemented * here, and cannot be changed (fixed?) without breaking other SHLWAPI calls. * 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. diff --git a/dlls/twain/twain.h b/dlls/twain/twain.h index 08c31ffcb8c..efb1c24bd51 100644 --- a/dlls/twain/twain.h +++ b/dlls/twain/twain.h @@ -484,7 +484,7 @@ typedef struct { char Reserved[512]; /**/ } 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 { TW_MEMREF pCommand; /* Pointer to Command buffer */ TW_UINT32 CommandBytes; /* Number of bytes in Command buffer */ @@ -1684,8 +1684,8 @@ typedef struct { #define TWCC_BUMMER 1 /* Failure due to unknown causes */ #define TWCC_LOWMEMORY 2 /* Not enough memory to perform operation */ #define TWCC_NODS 3 /* No Data Source */ -#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_MAXCONNECTIONS 4 /* DS is connected to max possible applications */ +#define TWCC_OPERATIONERROR 5 /* DS or DSM reported error, application shouldn't */ #define TWCC_BADCAP 6 /* Unknown capability */ #define TWCC_BADPROTOCOL 9 /* Unrecognized MSG DG DAT combination */ #define TWCC_BADVALUE 10 /* Data parameter out of range */ @@ -1693,7 +1693,7 @@ typedef struct { #define TWCC_BADDEST 12 /* Unknown destination Application/Source in DSM_Entry */ #define TWCC_CAPUNSUPPORTED 13 /* Capability not supported by source */ #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 */ #define TWCC_DENIED 16 /* File System operation is denied (file is protected) */ #define TWCC_FILEEXISTS 17 /* Operation failed because file already exists. */ diff --git a/dlls/user/lstr.c b/dlls/user/lstr.c index 329cd4d4cb7..da02a14e39c 100644 --- a/dlls/user/lstr.c +++ b/dlls/user/lstr.c @@ -596,7 +596,7 @@ DWORD WINAPI FormatMessage16( LPDWORD args /* [in] NOTE: va_list *args */ ) { #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; DWORD talloced; LPSTR from,f; diff --git a/dlls/wininet/internet.c b/dlls/wininet/internet.c index dca2e93e18b..d92a880d6d0 100644 --- a/dlls/wininet/internet.c +++ b/dlls/wininet/internet.c @@ -2317,7 +2317,7 @@ BOOL WINAPI InternetQueryDataAvailable( HINTERNET hFile, break; default: - FIXME("unsuported file type\n"); + FIXME("unsupported file type\n"); break; } diff --git a/dlls/winmm/wineoss/midi.c b/dlls/winmm/wineoss/midi.c index 42f6dc65252..1895808ab6f 100644 --- a/dlls/winmm/wineoss/midi.c +++ b/dlls/winmm/wineoss/midi.c @@ -1554,7 +1554,7 @@ static DWORD modReset(WORD wDevID) if (!MidiOutDev[wDevID].bEnabled) return MIDIERR_NODEVICE; /* 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... */ for (chn = 0; chn < 16; chn++) { diff --git a/documentation/multimedia.sgml b/documentation/multimedia.sgml index bf763d56153..0811f3f9a15 100644 --- a/documentation/multimedia.sgml +++ b/documentation/multimedia.sgml @@ -1131,7 +1131,7 @@ Kernel space | Client applications - 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) diff --git a/graphics/x11drv/opengl.c b/graphics/x11drv/opengl.c index 1b413eddb16..1f54765f67c 100644 --- a/graphics/x11drv/opengl.c +++ b/graphics/x11drv/opengl.c @@ -194,7 +194,7 @@ int X11DRV_ChoosePixelFormat(X11DRV_PDEVICE *physDev, NULL_TEST_AND_ADD2(ppfd->cAlphaBits, GLX_ALPHA_SIZE, 8); 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); */ att_list[att_pos] = None; diff --git a/objects/palette.c b/objects/palette.c index b4ab4d49091..0df9ab2f25d 100644 --- a/objects/palette.c +++ b/objects/palette.c @@ -846,7 +846,7 @@ VOID WINAPI SetMagicColors16(HDC16 hDC, COLORREF color, UINT16 index) * for that DC. * * 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 * * NOTE diff --git a/programs/regsvr32/regsvr32.c b/programs/regsvr32/regsvr32.c index 7ea750e00f6..10e56d37ee8 100644 --- a/programs/regsvr32/regsvr32.c +++ b/programs/regsvr32/regsvr32.c @@ -118,7 +118,7 @@ int RegisterDll(char* strDll) return -1; } if(!Silent) - printf("Succesfully registered dll %s\n", strDll); + printf("Successfully registered dll %s\n", strDll); if(DllHandle) FreeLibrary(DllHandle); @@ -141,7 +141,7 @@ int UnregisterDll(char* strDll) return -1; } if(!Silent) - printf("Succesfully unregistered dll %s\n", strDll); + printf("Successfully unregistered dll %s\n", strDll); if(DllHandle) FreeLibrary(DllHandle); @@ -164,7 +164,7 @@ int InstallDll(BOOL install, char *strDll, WCHAR *command_line) return -1; } if(!Silent) - printf("Succesfully %s dll %s\n", install ? "installed" : "uninstalled", + printf("Successfully %s dll %s\n", install ? "installed" : "uninstalled", strDll); if(DllHandle)