From 99f2f396b545cd988256c8cf29d29f3578bf7a81 Mon Sep 17 00:00:00 2001 From: Andreas Mohr Date: Fri, 22 Jun 2001 23:21:47 +0000 Subject: [PATCH] Spelling fixes. --- controls/scroll.c | 8 ++++---- dlls/comctl32/comctl32undoc.c | 6 +++--- misc/registry.c | 8 ++++---- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/controls/scroll.c b/controls/scroll.c index 7286cfe6f6f..22bf3693038 100644 --- a/controls/scroll.c +++ b/controls/scroll.c @@ -834,7 +834,7 @@ void SCROLL_DrawScrollBar( HWND hwnd, HDC hdc, INT nBar, (SCROLL_TrackingBar == nBar)) SCROLL_DrawMovingThumb( hdc, &rect, vertical, arrowSize, thumbSize ); - /* if scroll bar has focus, reposition the caret*/ + /* if scroll bar has focus, reposition the caret */ if(hwnd==GetFocus() && (nBar==SB_CTL)) { if (!vertical) @@ -938,7 +938,7 @@ void SCROLL_HandleScrollEvent( HWND hwnd, INT nBar, UINT msg, POINT pt) switch(msg) { case WM_LBUTTONDOWN: /* Initialise mouse tracking */ - HideCaret(hwnd); /* hide caret while holding down LBUTTON*/ + HideCaret(hwnd); /* hide caret while holding down LBUTTON */ SCROLL_trackVertical = vertical; SCROLL_trackHitTest = hittest = SCROLL_HitTest( hwnd, nBar, pt, FALSE ); lastClickPos = vertical ? (pt.y - rect.top) : (pt.x - rect.left); @@ -1174,7 +1174,7 @@ static LRESULT WINAPI ScrollBarWndProc( HWND hwnd, UINT message, WPARAM wParam, } break; - /* if key event is received, the scrollbar has the focus*/ + /* if key event is received, the scrollbar has the focus */ case WM_KEYDOWN: /* hide caret on first KEYDOWN to prevent flicker */ if ((lParam & 0x40000000)==0) @@ -1188,7 +1188,7 @@ static LRESULT WINAPI ScrollBarWndProc( HWND hwnd, UINT message, WPARAM wParam, case WM_SETFOCUS: { - /* Create a caret when a ScrollBar get focus*/ + /* Create a caret when a ScrollBar get focus */ RECT rect; int arrowSize, thumbSize, thumbPos, vertical; vertical = SCROLL_GetScrollBarRect( hwnd, SB_CTL, &rect, diff --git a/dlls/comctl32/comctl32undoc.c b/dlls/comctl32/comctl32undoc.c index cc7f2c1cb1f..880f6636319 100644 --- a/dlls/comctl32/comctl32undoc.c +++ b/dlls/comctl32/comctl32undoc.c @@ -487,7 +487,7 @@ FreeMRUListA (HANDLE hMRUList) /************************************************************************** * AddMRUData [COMCTL32.167] * - * Add item to MRU binary list. If item already exists in list them it is + * Add item to MRU binary list. If item already exists in list then it is * simply moved up to the top of the list and not added again. If list is * full then the least recently used item is removed to make room. * @@ -541,7 +541,7 @@ AddMRUStringA(HANDLE hList, LPCSTR lpszString) * nItemPos [I] item position to remove 0 -> MRU * * RETURNS - * TRUE is successful, FALSE if nItemPos is out of range. + * TRUE if successful, FALSE if nItemPos is out of range. */ BOOL WINAPI DelMRUString(HANDLE hList, INT nItemPos) @@ -1311,7 +1311,7 @@ DPA_Destroy (const HDPA hdpa) * * PARAMS * hdpa [I] handle (pointer) to the existing (source) pointer array - * nGrow [I] number of items, the array grows, when it's too small + * nGrow [I] number of items by which the array grows when it's too small * * RETURNS * Success: TRUE diff --git a/misc/registry.c b/misc/registry.c index 1cc3ddb081b..706771e9999 100644 --- a/misc/registry.c +++ b/misc/registry.c @@ -583,7 +583,7 @@ static int _w95_dump_dkv(_w95dkh *dkh,int nrLS,int nrMS,FILE *f) /* first value block */ dkv = (_w95dkv*)((char*)dkh+dkh->keynamelen+0x14); - /* loop trought the values */ + /* loop through the values */ for (i=0; i< dkh->values; i++) { struct key_value value; WCHAR *pdata; @@ -1378,7 +1378,7 @@ error1: return ret; } -/* convert native native registry to wine format and load it via server call [Internal] */ +/* convert native registry to wine format and load it via server call [Internal] */ static void _convert_and_load_native_registry(LPCSTR fn,HKEY hkey,int reg_type,int level) { LPSTR tmp = NULL; @@ -1401,10 +1401,10 @@ static void _convert_and_load_native_registry(LPCSTR fn,HKEY hkey,int reg_type,i if (tmp != NULL) { load_wine_registry(hkey,tmp); - TRACE("File %s successfuly converted to %s and loaded to registry.\n",fn,tmp); + TRACE("File %s successfully converted to %s and loaded to registry.\n",fn,tmp); unlink(tmp); } - else WARN("Unable to convert %s (not exist?)\n",fn); + else WARN("Unable to convert %s (doesn't exist?)\n",fn); free(tmp); } -- 2.11.4.GIT