diff --git a/dlls/comctl32/rebar.c b/dlls/comctl32/rebar.c index 99e54f92d17..5dce2573d1a 100644 --- a/dlls/comctl32/rebar.c +++ b/dlls/comctl32/rebar.c @@ -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; diff --git a/dlls/comctl32/treeview.c b/dlls/comctl32/treeview.c index babbda7355f..ec7d73c1fb5 100644 --- a/dlls/comctl32/treeview.c +++ b/dlls/comctl32/treeview.c @@ -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); diff --git a/dlls/comctl32/updown.c b/dlls/comctl32/updown.c index d26c58d54f1..ee67fea14b7 100644 --- a/dlls/comctl32/updown.c +++ b/dlls/comctl32/updown.c @@ -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) { diff --git a/dlls/kernel/console.c b/dlls/kernel/console.c index 0d4d71d1d8b..185e5fa9cba 100644 --- a/dlls/kernel/console.c +++ b/dlls/kernel/console.c @@ -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; diff --git a/dlls/quartz/audren.c b/dlls/quartz/audren.c index cad6b94645c..7c09ff536f4 100644 --- a/dlls/quartz/audren.c +++ b/dlls/quartz/audren.c @@ -2,8 +2,8 @@ * Audio Renderer (CLSID_AudioRender) * * FIXME - * - implements IRefereneceClock. - * - implements seeking. + * - implement IReferenceClock. + * - implement seeking. * * hidenori@a2.ctktv.ne.jp */ diff --git a/dlls/richedit/charlist.c b/dlls/richedit/charlist.c index c61f9df065c..decf3310e16 100644 --- a/dlls/richedit/charlist.c +++ b/dlls/richedit/charlist.c @@ -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; diff --git a/dlls/shell32/pidl.c b/dlls/shell32/pidl.c index e2b68b676b3..babc15035e7 100644 --- a/dlls/shell32/pidl.c +++ b/dlls/shell32/pidl.c @@ -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; diff --git a/dlls/winedos/devices.c b/dlls/winedos/devices.c index 451e7bf39f1..ae873836d49 100644 --- a/dlls/winedos/devices.c +++ b/dlls/winedos/devices.c @@ -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; diff --git a/dlls/winspool/info.c b/dlls/winspool/info.c index 5512e35b1e0..6a7095ecba0 100644 --- a/dlls/winspool/info.c +++ b/dlls/winspool/info.c @@ -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=/")) { diff --git a/graphics/painting.c b/graphics/painting.c index e6d1b4cfde9..d3b0251b14e 100644 --- a/graphics/painting.c +++ b/graphics/painting.c @@ -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); diff --git a/graphics/x11drv/dib.c b/graphics/x11drv/dib.c index 3d776a597b6..17c8ffb0857 100644 --- a/graphics/x11drv/dib.c +++ b/graphics/x11drv/dib.c @@ -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); } diff --git a/msdos/vxd.c b/msdos/vxd.c index 8f5f8b33253..2bbf5483848 100644 --- a/msdos/vxd.c +++ b/msdos/vxd.c @@ -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). diff --git a/programs/avitools/aviinfo.c b/programs/avitools/aviinfo.c index 3a7aa27b432..074b972e006 100644 --- a/programs/avitools/aviinfo.c +++ b/programs/avitools/aviinfo.c @@ -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); diff --git a/tools/winedump/misc.c b/tools/winedump/misc.c index ae3001dbd2d..4598b15c0cd 100644 --- a/tools/winedump/misc.c +++ b/tools/winedump/misc.c @@ -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) { diff --git a/tools/wrc/dumpres.c b/tools/wrc/dumpres.c index a101beec313..38f9f105cef 100644 --- a/tools/wrc/dumpres.c +++ b/tools/wrc/dumpres.c @@ -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. *****************************************************************************