Spelling fixes.
This commit is contained in:
parent
5fc46a2569
commit
99f2f396b5
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue