Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
8f6eda86
Commit
8f6eda86
authored
Mar 23, 2023
by
Rémi Bernon
Committed by
Alexandre Julliard
Mar 24, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
imm32: Fix ImmEscape(A|W) with NULL data.
parent
caf5ae19
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
8 deletions
+2
-8
imm.c
dlls/imm32/imm.c
+2
-2
imm32.c
dlls/imm32/tests/imm32.c
+0
-6
No files found.
dlls/imm32/imm.c
View file @
8f6eda86
...
...
@@ -1006,7 +1006,7 @@ LRESULT WINAPI ImmEscapeA( HKL hkl, HIMC himc, UINT code, void *data )
if
(
!
(
ime
=
ime_acquire
(
hkl
)))
return
0
;
if
(
!
EscapeRequiresWA
(
code
)
||
!
ime_is_unicode
(
ime
))
if
(
!
EscapeRequiresWA
(
code
)
||
!
ime_is_unicode
(
ime
)
||
!
data
)
ret
=
ime
->
pImeEscape
(
himc
,
code
,
data
);
else
{
...
...
@@ -1039,7 +1039,7 @@ LRESULT WINAPI ImmEscapeW( HKL hkl, HIMC himc, UINT code, void *data )
if
(
!
(
ime
=
ime_acquire
(
hkl
)))
return
0
;
if
(
!
EscapeRequiresWA
(
code
)
||
ime_is_unicode
(
ime
))
if
(
!
EscapeRequiresWA
(
code
)
||
ime_is_unicode
(
ime
)
||
!
data
)
ret
=
ime
->
pImeEscape
(
himc
,
code
,
data
);
else
{
...
...
dlls/imm32/tests/imm32.c
View file @
8f6eda86
...
...
@@ -2574,15 +2574,9 @@ static LRESULT WINAPI ime_ImeEscape( HIMC himc, UINT escape, void *data )
case
IME_ESC_SET_EUDC_DICTIONARY
:
if
(
!
data
)
return
4
;
if
(
ime_info
.
fdwProperty
&
IME_PROP_UNICODE
)
{
todo_wine_if
(
*
(
WCHAR
*
)
data
!=
'E'
)
ok_wcs
(
L"EscapeIme"
,
data
);
}
else
{
todo_wine_if
(
*
(
char
*
)
data
!=
'E'
)
ok_str
(
"EscapeIme"
,
data
);
}
/* fallthrough */
case
IME_ESC_QUERY_SUPPORT
:
case
IME_ESC_SEQUENCE_TO_INTERNAL
:
...
...
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