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
87b1cd12
Commit
87b1cd12
authored
Sep 06, 2023
by
Esme Povirk
Committed by
Alexandre Julliard
Sep 06, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32/tests: Check all letters in test_hotkey.
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=55317
parent
e7b4e883
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
msg.c
dlls/user32/tests/msg.c
+4
-4
No files found.
dlls/user32/tests/msg.c
View file @
87b1cd12
...
...
@@ -18629,7 +18629,7 @@ static void test_hotkey(void)
"unexpected error %ld
\n
"
,
GetLastError
());
/* Search for a Windows Key + letter combination that hasn't been registered */
for
(
hotkey_letter
=
0x41
;
hotkey_letter
<=
0x51
;
hotkey_letter
++
)
for
(
hotkey_letter
=
'A'
;
hotkey_letter
<=
'Z'
;
hotkey_letter
++
)
{
SetLastError
(
0xdeadbeef
);
ret
=
RegisterHotKey
(
test_window
,
5
,
MOD_WIN
,
hotkey_letter
);
...
...
@@ -18645,7 +18645,7 @@ static void test_hotkey(void)
}
}
if
(
hotkey_letter
==
0x52
)
if
(
hotkey_letter
>
'Z'
)
{
ok
(
0
,
"Couldn't find any free Windows Key + letter combination
\n
"
);
goto
end
;
...
...
@@ -18845,7 +18845,7 @@ static void test_hotkey(void)
ok_sequence
(
WmHotkeyReleaseLWIN
,
"thread hotkey release LWIN"
,
FALSE
);
/* Search for an ALT + letter combination that hasn't been registered */
for
(
hotkey_letter
=
0x41
;
hotkey_letter
<=
0x51
;
hotkey_letter
++
)
for
(
hotkey_letter
=
'A'
;
hotkey_letter
<=
'Z'
;
hotkey_letter
++
)
{
SetLastError
(
0xdeadbeef
);
ret
=
RegisterHotKey
(
test_window
,
6
,
MOD_ALT
,
hotkey_letter
);
...
...
@@ -18861,7 +18861,7 @@ static void test_hotkey(void)
}
}
if
(
hotkey_letter
==
0x52
)
if
(
hotkey_letter
>
'Z'
)
{
ok
(
0
,
"Couldn't find any free ALT + letter combination
\n
"
);
goto
end
;
...
...
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