Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
99f2f396
Commit
99f2f396
authored
Jun 22, 2001
by
Andreas Mohr
Committed by
Alexandre Julliard
Jun 22, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Spelling fixes.
parent
5fc46a25
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
11 deletions
+11
-11
scroll.c
controls/scroll.c
+4
-4
comctl32undoc.c
dlls/comctl32/comctl32undoc.c
+3
-3
registry.c
misc/registry.c
+4
-4
No files found.
controls/scroll.c
View file @
99f2f396
...
...
@@ -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
,
...
...
dlls/comctl32/comctl32undoc.c
View file @
99f2f396
...
...
@@ -487,7 +487,7 @@ FreeMRUListA (HANDLE hMRUList)
/**************************************************************************
* AddMRUData [COMCTL32.167]
*
* Add item to MRU binary list. If item already exists in list the
m
it is
* Add item to MRU binary list. If item already exists in list the
n
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 i
s
successful, FALSE if nItemPos is out of range.
* TRUE i
f
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
...
...
misc/registry.c
View file @
99f2f396
...
...
@@ -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 t
rought
the values */
/* loop t
hrough
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 successful
l
y converted to %s and loaded to registry.
\n
"
,
fn
,
tmp
);
unlink
(
tmp
);
}
else
WARN
(
"Unable to convert %s (
no
t exist?)
\n
"
,
fn
);
else
WARN
(
"Unable to convert %s (
doesn'
t exist?)
\n
"
,
fn
);
free
(
tmp
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment