Commit 8bc7f16c authored by Andreas Mohr's avatar Andreas Mohr Committed by Alexandre Julliard

Spelling/alignment fixes.

parent a0ff2b4a
......@@ -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;
......
......@@ -51,8 +51,8 @@ typedef struct _TREEITEM /* HTREEITEM is a _TREEINFO *. */
LPARAM lParam;
int iIntegral; /* item height multiplier (1 is normal) */
int iLevel; /* indentation level:0=root level */
HTREEITEM parent; /* handle to parent or 0 if at root*/
HTREEITEM firstChild; /* handle to first child or 0 if no child*/
HTREEITEM parent; /* handle to parent or 0 if at root */
HTREEITEM firstChild; /* handle to first child or 0 if no child */
HTREEITEM lastChild;
HTREEITEM prevSibling; /* handle to prev item in list, 0 if first */
HTREEITEM nextSibling; /* handle to next item in list, 0 if last */
......@@ -136,7 +136,7 @@ typedef struct tagTREEVIEW_INFO
#define TV_HSCROLL 0x01 /* treeview too large to fit in window */
#define TV_VSCROLL 0x02 /* (horizontal/vertical) */
#define TV_LDRAG 0x04 /* Lbutton pushed to start drag */
#define TV_LDRAGGING 0x08 /* Lbutton pushed, mouse moved. */
#define TV_LDRAGGING 0x08 /* Lbutton pushed, mouse moved. */
#define TV_RDRAG 0x10 /* dito Rbutton */
#define TV_RDRAGGING 0x20
......@@ -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);
......
......@@ -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)
{
......
......@@ -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;
......
......@@ -2,8 +2,8 @@
* Audio Renderer (CLSID_AudioRender)
*
* FIXME
* - implements IRefereneceClock.
* - implements seeking.
* - implement IReferenceClock.
* - implement seeking.
*
* hidenori@a2.ctktv.ne.jp
*/
......
......@@ -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;
......
......@@ -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;
......
......@@ -235,7 +235,7 @@ static void WINAPI con_interrupt(CONTEXT86*ctx)
/* line buffer emptied */
lol->offs_unread_CON = 0;
curbuffer = NULL;
/* if we're not in raw mode, call it a day*/
/* if we're not in raw mode, call it a day */
if (!(con->attr & ATTR_RAW)) {
hdr->status = STAT_DONE;
io->count = len;
......
......@@ -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=/")) {
......
......@@ -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);
......
......@@ -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);
}
......
......@@ -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).
......
......@@ -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);
......
......@@ -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)
{
......
......@@ -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.
*****************************************************************************
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment