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
242b1bc1
Commit
242b1bc1
authored
Oct 22, 2008
by
Dylan Smith
Committed by
Alexandre Julliard
Oct 23, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
richedit: Fixed pointer syntax in helper functions for tests.
parent
65e67773
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
editor.c
dlls/riched20/tests/editor.c
+4
-4
No files found.
dlls/riched20/tests/editor.c
View file @
242b1bc1
...
...
@@ -116,11 +116,11 @@ static BOOL hold_key(int vk)
BYTE
key_state
[
256
];
BOOL
result
;
result
=
GetKeyboardState
(
(
LPBYTE
)
&
key_state
);
result
=
GetKeyboardState
(
key_state
);
ok
(
result
,
"GetKeyboardState failed.
\n
"
);
if
(
!
result
)
return
FALSE
;
key_state
[
vk
]
|=
0x80
;
result
=
SetKeyboardState
(
(
LPBYTE
)
&
key_state
);
result
=
SetKeyboardState
(
key_state
);
ok
(
result
,
"SetKeyboardState failed.
\n
"
);
return
result
!=
0
;
}
...
...
@@ -130,11 +130,11 @@ static BOOL release_key(int vk)
BYTE
key_state
[
256
];
BOOL
result
;
result
=
GetKeyboardState
(
(
LPBYTE
)
&
key_state
);
result
=
GetKeyboardState
(
key_state
);
ok
(
result
,
"GetKeyboardState failed.
\n
"
);
if
(
!
result
)
return
FALSE
;
key_state
[
vk
]
&=
~
0x80
;
result
=
SetKeyboardState
(
(
LPBYTE
)
&
key_state
);
result
=
SetKeyboardState
(
key_state
);
ok
(
result
,
"SetKeyboardState failed.
\n
"
);
return
result
!=
0
;
}
...
...
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