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
c9988c88
Commit
c9988c88
authored
Sep 25, 2020
by
Piotr Caban
Committed by
Alexandre Julliard
Sep 28, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
imm32: Exit early in ImmTranslateMessage when there was no new input.
Signed-off-by:
Piotr Caban
<
piotr@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
ef12437b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
imm.c
dlls/imm32/imm.c
+1
-1
imm32.c
dlls/imm32/tests/imm32.c
+2
-0
No files found.
dlls/imm32/imm.c
View file @
c9988c88
...
...
@@ -3045,7 +3045,7 @@ BOOL WINAPI ImmTranslateMessage(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lKeyD
else
return
FALSE
;
if
(
!
data
->
immKbd
->
hIME
||
!
data
->
immKbd
->
pImeToAsciiEx
)
if
(
!
data
->
immKbd
->
hIME
||
!
data
->
immKbd
->
pImeToAsciiEx
||
data
->
lastVK
==
VK_PROCESSKEY
)
return
FALSE
;
GetKeyboardState
(
state
);
...
...
dlls/imm32/tests/imm32.c
View file @
c9988c88
...
...
@@ -1643,6 +1643,8 @@ static void test_ime_processkey(void)
trace
(
"ProcessKey was correctly found
\n
"
);
}
TranslateMessage
(
&
msg
);
/* test calling TranslateMessage multiple times */
TranslateMessage
(
&
msg
);
DispatchMessageW
(
&
msg
);
}
...
...
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