Spelling/alignment fixes.

This commit is contained in:
Andreas Mohr 2002-02-27 01:34:08 +00:00 committed by Alexandre Julliard
parent a0ff2b4adf
commit 8bc7f16caa
15 changed files with 24 additions and 24 deletions

View File

@ -3753,7 +3753,7 @@ REBAR_MouseMove (REBAR_INFO *infoPtr, WPARAM wParam, LPARAM lParam)
REBAR_BAND *band1, *band2;
POINTS ptsmove;
/* Validate entry as hit on Gripper has occured */
/* Validate entry as hit on Gripper has occurred */
if (GetCapture() != infoPtr->hwndSelf) return 0;
if (infoPtr->ihitBand == -1) return 0;

View File

@ -2306,7 +2306,7 @@ TREEVIEW_DrawItem(TREEVIEW_INFO *infoPtr, HDC hdc, TREEVIEW_ITEM *wineItem)
if ((wineItem->state & TVIS_SELECTED) && (wineItem->iSelectedImage))
{
/* The item is curently selected */
/* The item is currently selected */
imageIndex = wineItem->iSelectedImage;
}
else
@ -3720,7 +3720,7 @@ TREEVIEW_LButtonDown(TREEVIEW_INFO *infoPtr, LPARAM lParam)
goto setfocus;
}
else if (bTrack)
{ /* if TREEVIEW_TrackMouse == 1 dragging occured and the cursor left the dragged item's rectangle */
{ /* if TREEVIEW_TrackMouse == 1 dragging occurred and the cursor left the dragged item's rectangle */
if (TREEVIEW_TrackMouse(infoPtr, ht.pt))
{
TREEVIEW_SendTreeviewDnDNotify(infoPtr, TVN_BEGINDRAGA, ht.hItem,
@ -3748,7 +3748,7 @@ TREEVIEW_LButtonDown(TREEVIEW_INFO *infoPtr, LPARAM lParam)
/*
* If the style allows editing and the node is already selected
* and the click occured on the item label...
* and the click occurred on the item label...
*/
if ((infoPtr->dwStyle & TVS_EDITLABELS) &&
(ht.flags & TVHT_ONITEMLABEL) && (infoPtr->selectedItem == ht.hItem))
@ -4665,7 +4665,7 @@ TREEVIEW_Destroy(TREEVIEW_INFO *infoPtr)
/* tool tip is automatically destroyed: we are its owner */
/* Restore original windproc. */
/* Restore original wndproc */
if (infoPtr->hwndEdit)
SetWindowLongA(infoPtr->hwndEdit, GWL_WNDPROC,
(LONG)infoPtr->wpEditOrig);

View File

@ -219,7 +219,7 @@ static CHAR UPDOWN_GetThousandSep()
* it stores it in the control's CurVal
* returns:
* TRUE - if it read the integer from the buddy successfully
* FALSE - if an error occured
* FALSE - if an error occurred
*/
static BOOL UPDOWN_GetBuddyInt (UPDOWN_INFO *infoPtr)
{
@ -265,7 +265,7 @@ static BOOL UPDOWN_GetBuddyInt (UPDOWN_INFO *infoPtr)
* Tries to set the pos to the buddy window based on current pos
* returns:
* TRUE - if it set the caption of the buddy successfully
* FALSE - if an error occured
* FALSE - if an error occurred
*/
static BOOL UPDOWN_SetBuddyInt (UPDOWN_INFO *infoPtr)
{

View File

@ -36,7 +36,7 @@ DEFAULT_DEBUG_CHANNEL(console);
static UINT console_input_codepage;
static UINT console_output_codepage;
/* map input records to Ascii */
/* map input records to ASCII */
static void input_records_WtoA( INPUT_RECORD *buffer, int count )
{
int i;
@ -66,7 +66,7 @@ static void input_records_AtoW( INPUT_RECORD *buffer, int count )
}
}
/* map char infos to Ascii */
/* map char infos to ASCII */
static void char_info_WtoA( CHAR_INFO *buffer, int count )
{
char ch;

View File

@ -2,8 +2,8 @@
* Audio Renderer (CLSID_AudioRender)
*
* FIXME
* - implements IRefereneceClock.
* - implements seeking.
* - implement IReferenceClock.
* - implement seeking.
*
* hidenori@a2.ctktv.ne.jp
*/

View File

@ -106,7 +106,7 @@ void CHARLIST_FreeList(CHARLIST* pCharList){
CHARLIST_Dequeue(pCharList);
}
/* this function count the number of occurences of a caracter */
/* this function counts the number of occurrences of a caracter */
int CHARLIST_CountChar(CHARLIST* pCharList, char myChar)
{
CHARLISTENTRY *pCurrent;

View File

@ -171,7 +171,7 @@ BOOL WINAPI ILRemoveLastID(LPCITEMIDLIST pidl)
* ILClone [SHELL32.18]
*
* NOTES
* dupicate an idlist
* duplicate an idlist
*/
LPITEMIDLIST WINAPI ILClone (LPCITEMIDLIST pidl)
{ DWORD len;

View File

@ -188,7 +188,7 @@ PRINTCAP_ParseEntry(char *pent,BOOL isfirst) {
}
/* 3. Check if we have an input filter program. If we have one, it
* most likely is one capable of converting postscript.
* (Could probably check for occurence of 'gs' or 'ghostscript'
* (Could probably check for occurrence of 'gs' or 'ghostscript'
* in the if file itself.)
*/
if (strstr(pent,":if=/")) {

View File

@ -167,7 +167,7 @@ BOOL WINAPI ArcTo( HDC hdc,
*/
result = Arc(hdc, left, top, right, bottom, xstart, ystart, xend, yend);
/*
* If no error occured, the current position is moved to the ending
* If no error occurred, the current position is moved to the ending
* point of the arc.
*/
if (result) MoveToEx(hdc, xend, yend, NULL);

View File

@ -5597,7 +5597,7 @@ static XImage *X11DRV_XShmCreateImage( int width, int height, int bpp,
wine_tsx11_unlock();
return image; /* Success! */
}
/* An error occured */
/* An error occurred */
XShmErrorFlag = 0;
XSetErrorHandler(WineXHandler);
}

View File

@ -583,7 +583,7 @@ void WINAPI VXD_Win32s( CONTEXT86 *context )
* We search between the addresses of the exported symbols SetFS
* and StackLinearToSegmented for the byte sequence '0F 01 04'
* (this is the opcode of 'sgdt [si]'). We then search backwards
* from this address for the last occurrance of 'CB' (retf) that marks
* from this address for the last occurrence of 'CB' (retf) that marks
* the end of the preceeding function. The following byte (which
* should now be the first byte of the function we are looking for)
* will be replaced by 'CB' (retf).

View File

@ -32,7 +32,7 @@ HRESULT (WINAPI *fnAVIStreamInfo)(PAVISTREAM iface,AVISTREAMINFO *afi,LONG size)
#else
# define XXT(x) fn##x = (void*)GetProcAddress(avifil32,#x##"A");assert(fn##x);
#endif
/* Non character dependend routines: */
/* Non character dependent routines: */
XX (AVIFileInit);
XX (AVIFileExit);
XX (AVIFileRelease);

View File

@ -136,7 +136,7 @@ const char *str_match (const char *str, const char *match, int *found)
/*******************************************************************
* str_find_set
*
* Locate the first occurence of a set of characters in a string
* Locate the first occurrence of a set of characters in a string
*/
const char *str_find_set (const char *str, const char *findset)
{

View File

@ -62,7 +62,7 @@ char *get_typename(resource_t* r)
* maxlen - Max chars to copy
* Output : 'cs'
* Description : Copy a unicode string to ascii. Copying stops after the
* first occuring '\0' or when maxlen-1 chars are copied. The
* first occurring '\0' or when maxlen-1 chars are copied. The
* String is always nul terminated.
* Remarks : No codepage translation is done.
*****************************************************************************