Spelling fixes.

oldstable
Andreas Mohr 2001-04-20 18:36:05 +00:00 committed by Alexandre Julliard
parent e8db6cbcb2
commit f32f918123
10 changed files with 21 additions and 19 deletions

View File

@ -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 */

View File

@ -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;
}

View File

@ -555,7 +555,7 @@ HRESULT WINAPI AntiMonikerImpl_ParseDisplayName(IMoniker* iface,
}
/******************************************************************************
* AntiMoniker_IsSystemMonker
* AntiMoniker_IsSystemMoniker
******************************************************************************/
HRESULT WINAPI AntiMonikerImpl_IsSystemMoniker(IMoniker* iface,DWORD* pwdMksys)
{

View File

@ -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];

View File

@ -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)
{

View File

@ -1237,7 +1237,7 @@ HRESULT WINAPI FileMonikerImpl_ParseDisplayName(IMoniker* iface,
}
/******************************************************************************
* FileMoniker_IsSystemMonker
* FileMoniker_IsSystemMoniker
******************************************************************************/
HRESULT WINAPI FileMonikerImpl_IsSystemMoniker(IMoniker* iface,DWORD* pwdMksys)
{

View File

@ -876,7 +876,7 @@ HRESULT WINAPI ItemMonikerImpl_ParseDisplayName(IMoniker* iface,
}
/******************************************************************************
* ItemMoniker_IsSystemMonker
* ItemMoniker_IsSystemMoniker
******************************************************************************/
HRESULT WINAPI ItemMonikerImpl_IsSystemMoniker(IMoniker* iface,DWORD* pwdMksys)
{

View File

@ -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

View File

@ -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 */

View File

@ -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.