diff --git a/debugger/ext_debugger.c b/debugger/ext_debugger.c index 124ca26d8d987590d88479e095776244a447e793..84dee52ac9d197025450268868ceb1f53f78d138 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 fa6618cec2cc358073b9a9bf0a16bc5fd8fe6a35..d8701a79f7a8782e2722de83a9d43aaed96b2e43 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 0af9a64f746738b35839bf3c17f0e84ee7b99e23..2a696b4d39af3c2cb139089720d559239e121a53 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 be3a293a33ef9ee2c431324f9557cd54bc61e09a..d6e4c1d0f063e2a3a6a2ad7776c9b43871a63740 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; j<This->bindCtxTableLastIndex-1; j++) This->bindCtxTable[j]= This->bindCtxTable[j+1]; diff --git a/dlls/ole32/compositemoniker.c b/dlls/ole32/compositemoniker.c index cdc9b956dbbde16fd6a011fb9b42a2898e53dbcc..e844c9dc77445e944208d12ad24a36562125dd28 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 a2e0a54b25b3a1bd78582758563c69b5cae5e374..d82f46e1174a8dd2c3c6988dcf25a7f8d3b4a277 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 783084167872a6a814940a058021ef880791f2ee..f091b7ad18fc4caa7b80c3a80e59332df6820d16 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 a46a9905157f31e1c9d3beb4d89cb06177798bbc..9b0d1699364ed01ac9bf0c79402fffb210c86460 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 893ce6a9d846d4408b653de065f709e7923373a0..632d8a52f6e3e9c51b246382d3f67ea290876809 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 daced6bd2c6a82a04c771768d8f14ed99a33a42f..4fc0aa1ccf2f9f0d268b9c42a8e9298a05ec446e 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.