Commit 99f2f396 authored by Andreas Mohr's avatar Andreas Mohr Committed by Alexandre Julliard

Spelling fixes.

parent 5fc46a25
...@@ -834,7 +834,7 @@ void SCROLL_DrawScrollBar( HWND hwnd, HDC hdc, INT nBar, ...@@ -834,7 +834,7 @@ void SCROLL_DrawScrollBar( HWND hwnd, HDC hdc, INT nBar,
(SCROLL_TrackingBar == nBar)) (SCROLL_TrackingBar == nBar))
SCROLL_DrawMovingThumb( hdc, &rect, vertical, arrowSize, thumbSize ); 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(hwnd==GetFocus() && (nBar==SB_CTL))
{ {
if (!vertical) if (!vertical)
...@@ -938,7 +938,7 @@ void SCROLL_HandleScrollEvent( HWND hwnd, INT nBar, UINT msg, POINT pt) ...@@ -938,7 +938,7 @@ void SCROLL_HandleScrollEvent( HWND hwnd, INT nBar, UINT msg, POINT pt)
switch(msg) switch(msg)
{ {
case WM_LBUTTONDOWN: /* Initialise mouse tracking */ 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_trackVertical = vertical;
SCROLL_trackHitTest = hittest = SCROLL_HitTest( hwnd, nBar, pt, FALSE ); SCROLL_trackHitTest = hittest = SCROLL_HitTest( hwnd, nBar, pt, FALSE );
lastClickPos = vertical ? (pt.y - rect.top) : (pt.x - rect.left); lastClickPos = vertical ? (pt.y - rect.top) : (pt.x - rect.left);
...@@ -1174,7 +1174,7 @@ static LRESULT WINAPI ScrollBarWndProc( HWND hwnd, UINT message, WPARAM wParam, ...@@ -1174,7 +1174,7 @@ static LRESULT WINAPI ScrollBarWndProc( HWND hwnd, UINT message, WPARAM wParam,
} }
break; break;
/* if key event is received, the scrollbar has the focus*/ /* if key event is received, the scrollbar has the focus */
case WM_KEYDOWN: case WM_KEYDOWN:
/* hide caret on first KEYDOWN to prevent flicker */ /* hide caret on first KEYDOWN to prevent flicker */
if ((lParam & 0x40000000)==0) if ((lParam & 0x40000000)==0)
...@@ -1188,7 +1188,7 @@ static LRESULT WINAPI ScrollBarWndProc( HWND hwnd, UINT message, WPARAM wParam, ...@@ -1188,7 +1188,7 @@ static LRESULT WINAPI ScrollBarWndProc( HWND hwnd, UINT message, WPARAM wParam,
case WM_SETFOCUS: case WM_SETFOCUS:
{ {
/* Create a caret when a ScrollBar get focus*/ /* Create a caret when a ScrollBar get focus */
RECT rect; RECT rect;
int arrowSize, thumbSize, thumbPos, vertical; int arrowSize, thumbSize, thumbPos, vertical;
vertical = SCROLL_GetScrollBarRect( hwnd, SB_CTL, &rect, vertical = SCROLL_GetScrollBarRect( hwnd, SB_CTL, &rect,
......
...@@ -487,7 +487,7 @@ FreeMRUListA (HANDLE hMRUList) ...@@ -487,7 +487,7 @@ FreeMRUListA (HANDLE hMRUList)
/************************************************************************** /**************************************************************************
* AddMRUData [COMCTL32.167] * 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 * 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. * full then the least recently used item is removed to make room.
* *
...@@ -541,7 +541,7 @@ AddMRUStringA(HANDLE hList, LPCSTR lpszString) ...@@ -541,7 +541,7 @@ AddMRUStringA(HANDLE hList, LPCSTR lpszString)
* nItemPos [I] item position to remove 0 -> MRU * nItemPos [I] item position to remove 0 -> MRU
* *
* RETURNS * RETURNS
* TRUE is successful, FALSE if nItemPos is out of range. * TRUE if successful, FALSE if nItemPos is out of range.
*/ */
BOOL WINAPI BOOL WINAPI
DelMRUString(HANDLE hList, INT nItemPos) DelMRUString(HANDLE hList, INT nItemPos)
...@@ -1311,7 +1311,7 @@ DPA_Destroy (const HDPA hdpa) ...@@ -1311,7 +1311,7 @@ DPA_Destroy (const HDPA hdpa)
* *
* PARAMS * PARAMS
* hdpa [I] handle (pointer) to the existing (source) pointer array * 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 * RETURNS
* Success: TRUE * Success: TRUE
......
...@@ -583,7 +583,7 @@ static int _w95_dump_dkv(_w95dkh *dkh,int nrLS,int nrMS,FILE *f) ...@@ -583,7 +583,7 @@ static int _w95_dump_dkv(_w95dkh *dkh,int nrLS,int nrMS,FILE *f)
/* first value block */ /* first value block */
dkv = (_w95dkv*)((char*)dkh+dkh->keynamelen+0x14); dkv = (_w95dkv*)((char*)dkh+dkh->keynamelen+0x14);
/* loop trought the values */ /* loop through the values */
for (i=0; i< dkh->values; i++) { for (i=0; i< dkh->values; i++) {
struct key_value value; struct key_value value;
WCHAR *pdata; WCHAR *pdata;
...@@ -1378,7 +1378,7 @@ error1: ...@@ -1378,7 +1378,7 @@ error1:
return ret; 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) static void _convert_and_load_native_registry(LPCSTR fn,HKEY hkey,int reg_type,int level)
{ {
LPSTR tmp = NULL; LPSTR tmp = NULL;
...@@ -1401,10 +1401,10 @@ static void _convert_and_load_native_registry(LPCSTR fn,HKEY hkey,int reg_type,i ...@@ -1401,10 +1401,10 @@ static void _convert_and_load_native_registry(LPCSTR fn,HKEY hkey,int reg_type,i
if (tmp != NULL) { if (tmp != NULL) {
load_wine_registry(hkey,tmp); 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); 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); free(tmp);
} }
......
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