diff --git a/debugger/ext_debugger.c b/debugger/ext_debugger.c index 124ca26d8d9..84dee52ac9d 100644 --- a/debugger/ext_debugger.c +++ b/debugger/ext_debugger.c @@ -78,7 +78,7 @@ void DEBUG_ExternalDebugger(void) dbg_sleep_secs = DBG_SLEEPTIME_DEFAULT; } - /* get the curent process id */ + /* get the current process id */ attach_pid = getpid(); /* create new process */ diff --git a/dlls/comctl32/animate.c b/dlls/comctl32/animate.c index fa6618cec2c..d8701a79f7a 100644 --- a/dlls/comctl32/animate.c +++ b/dlls/comctl32/animate.c @@ -361,17 +361,19 @@ static DWORD CALLBACK ANIMATE_AnimationThread(LPVOID ptr_) if(GetWindowLongA(infoPtr->hWnd, GWL_STYLE) & ACS_TRANSPARENT) { hDC = GetDC(infoPtr->hWnd); + /* sometimes the animation window will be destroyed in between + * by the main program, so a ReleaseDC() error msg is possible */ infoPtr->hbrushBG = SendMessageA(GetParent(infoPtr->hWnd),WM_CTLCOLORSTATIC,hDC, infoPtr->hWnd); ReleaseDC(infoPtr->hWnd,hDC); } - EnterCriticalSection(&infoPtr->cs); - ANIMATE_DrawFrame(infoPtr); - LeaveCriticalSection(&infoPtr->cs); + EnterCriticalSection(&infoPtr->cs); + ANIMATE_DrawFrame(infoPtr); + LeaveCriticalSection(&infoPtr->cs); /* time is in microseconds, we should convert it to milliseconds */ Sleep((infoPtr->mah.dwMicroSecPerFrame+500)/1000); -} + } return TRUE; } diff --git a/dlls/ole32/antimoniker.c b/dlls/ole32/antimoniker.c index 0af9a64f746..2a696b4d39a 100644 --- a/dlls/ole32/antimoniker.c +++ b/dlls/ole32/antimoniker.c @@ -555,7 +555,7 @@ HRESULT WINAPI AntiMonikerImpl_ParseDisplayName(IMoniker* iface, } /****************************************************************************** - * AntiMoniker_IsSystemMonker + * AntiMoniker_IsSystemMoniker ******************************************************************************/ HRESULT WINAPI AntiMonikerImpl_IsSystemMoniker(IMoniker* iface,DWORD* pwdMksys) { diff --git a/dlls/ole32/bindctx.c b/dlls/ole32/bindctx.c index be3a293a33e..d6e4c1d0f06 100644 --- a/dlls/ole32/bindctx.c +++ b/dlls/ole32/bindctx.c @@ -267,7 +267,7 @@ HRESULT WINAPI BindCtxImpl_RevokeObjectBound(IBindCtx* iface, IUnknown* punk) IUnknown_Release(This->bindCtxTable[index].pObj); - /* left-shift all elements in the rigth side of the curent revoked object */ + /* left-shift all elements in the right side of the current revoked object */ for(j=index; jbindCtxTableLastIndex-1; j++) This->bindCtxTable[j]= This->bindCtxTable[j+1]; diff --git a/dlls/ole32/compositemoniker.c b/dlls/ole32/compositemoniker.c index cdc9b956dbb..e844c9dc774 100644 --- a/dlls/ole32/compositemoniker.c +++ b/dlls/ole32/compositemoniker.c @@ -114,7 +114,7 @@ static HRESULT WINAPI EnumMonikerImpl_QueryInterface(IEnumMoniker* iface,REFIID static ULONG WINAPI EnumMonikerImpl_AddRef(IEnumMoniker* iface); static ULONG WINAPI EnumMonikerImpl_Release(IEnumMoniker* iface); -/* IEnumMonker prototype functions */ +/* IEnumMoniker prototype functions */ static HRESULT WINAPI EnumMonikerImpl_Next(IEnumMoniker* iface,ULONG celt,IMoniker** rgelt,ULONG* pceltFetched); static HRESULT WINAPI EnumMonikerImpl_Skip(IEnumMoniker* iface,ULONG celt); static HRESULT WINAPI EnumMonikerImpl_Reset(IEnumMoniker* iface); @@ -727,7 +727,7 @@ HRESULT WINAPI CompositeMonikerImpl_Reduce(IMoniker* iface, else{ - /* separate the copmosite moniker in to left and wrigth moniker */ + /* separate the composite moniker in to left and right moniker */ IMoniker_Enum(iface,FALSE,&enumMoniker); IEnumMoniker_Next(enumMoniker,1,&mostRigthMk,NULL); IEnumMoniker_Release(enumMoniker); @@ -1184,7 +1184,7 @@ VOID WINAPI GetAfterCommonPrefix(IMoniker* pGenMk,IMoniker* commonMk,IMoniker** *restMk=0; /* to create an enumerator for pGenMk with current position pointed on the first element after common */ - /* prefix: enum the two monikers (left-wrigth) then compare these enumerations (left-wrigth) and stop */ + /* prefix: enum the two monikers (left-right) then compare these enumerations (left-right) and stop */ /* on the first difference. */ IMoniker_Enum(pGenMk,TRUE,&enumMoniker1); @@ -1385,12 +1385,12 @@ HRESULT WINAPI CompositeMonikerImpl_ParseDisplayName(IMoniker* iface, /* This method recursively calls IMoniker::ParseDisplayName on the rightmost component of the composite,*/ /* passing everything else as the pmkToLeft parameter for that call. */ - /* get the most rigth moniker */ + /* get the most right moniker */ IMoniker_Enum(iface,FALSE,&enumMoniker); IEnumMoniker_Next(enumMoniker,1,&mostRigthMk,NULL); IEnumMoniker_Release(enumMoniker); - /* get the left moniker */ + /* get the left moniker */ CreateAntiMoniker(&antiMk); IMoniker_ComposeWith(iface,antiMk,0,&tempMk); IMoniker_Release(antiMk); @@ -1399,7 +1399,7 @@ HRESULT WINAPI CompositeMonikerImpl_ParseDisplayName(IMoniker* iface, } /****************************************************************************** - * CompositeMoniker_IsSystemMonker + * CompositeMoniker_IsSystemMoniker ******************************************************************************/ HRESULT WINAPI CompositeMonikerImpl_IsSystemMoniker(IMoniker* iface,DWORD* pwdMksys) { diff --git a/dlls/ole32/filemoniker.c b/dlls/ole32/filemoniker.c index a2e0a54b25b..d82f46e1174 100644 --- a/dlls/ole32/filemoniker.c +++ b/dlls/ole32/filemoniker.c @@ -1237,7 +1237,7 @@ HRESULT WINAPI FileMonikerImpl_ParseDisplayName(IMoniker* iface, } /****************************************************************************** - * FileMoniker_IsSystemMonker + * FileMoniker_IsSystemMoniker ******************************************************************************/ HRESULT WINAPI FileMonikerImpl_IsSystemMoniker(IMoniker* iface,DWORD* pwdMksys) { diff --git a/dlls/ole32/itemmoniker.c b/dlls/ole32/itemmoniker.c index 78308416787..f091b7ad18f 100644 --- a/dlls/ole32/itemmoniker.c +++ b/dlls/ole32/itemmoniker.c @@ -876,7 +876,7 @@ HRESULT WINAPI ItemMonikerImpl_ParseDisplayName(IMoniker* iface, } /****************************************************************************** - * ItemMoniker_IsSystemMonker + * ItemMoniker_IsSystemMoniker ******************************************************************************/ HRESULT WINAPI ItemMonikerImpl_IsSystemMoniker(IMoniker* iface,DWORD* pwdMksys) { diff --git a/files/drive.c b/files/drive.c index a46a9905157..9b0d1699364 100644 --- a/files/drive.c +++ b/files/drive.c @@ -1069,7 +1069,7 @@ BOOL WINAPI GetDiskFreeSpaceW( LPCWSTR root, LPDWORD cluster_sectors, /*********************************************************************** * GetDiskFreeSpaceExA (KERNEL32.871) * - * This function is used to aquire the size of the available and + * This function is used to acquire the size of the available and * total space on a logical volume. * * RETURNS diff --git a/objects/dib.c b/objects/dib.c index 893ce6a9d84..632d8a52f6e 100644 --- a/objects/dib.c +++ b/objects/dib.c @@ -362,7 +362,7 @@ UINT WINAPI GetDIBColorTable( HDC hdc, UINT startpos, UINT entries, /* FIXME the following two structs should be combined with __sysPalTemplate in objects/color.c - this should happen after de-X11-ing both of these files. - NB. RGBQUAD and PALETTENTRY have different orderings of red, green + NB. RGBQUAD and PALETTEENTRY have different orderings of red, green and blue - sigh */ static RGBQUAD EGAColors[16] = { @@ -519,7 +519,7 @@ INT WINAPI GetDIBits( if (bits && lines) { - /* If the bitmap object already have a dib section that contains image data, get the bits from it*/ + /* If the bitmap object already have a dib section that contains image data, get the bits from it */ if(bmp->dib && bmp->dib->dsBm.bmBitsPixel >= 15 && info->bmiHeader.biBitCount >= 15) { /*FIXME: Only RGB dibs supported for now */ diff --git a/tools/wineconf b/tools/wineconf index daced6bd2c6..4fc0aa1ccf2 100755 --- a/tools/wineconf +++ b/tools/wineconf @@ -9,7 +9,7 @@ $RCS_ID = '$Id$ '; # This program examines the contents of the DOS filesystems and # attempts to generate a sensible wine.conf file. This is output # to STDOUT. -# It reads /etc/FSTAB to find mounting locations of the hard disk drives +# It reads /etc/fstab to find mounting locations of the hard disk drives # It uses the correct algorithm for ordering DOS drives, with the # exception of the case of multiple drive controller types, where I don't # know what DOS's algorithm is.