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
b17aa781
Commit
b17aa781
authored
Sep 15, 2008
by
Aric Stewart
Committed by
Alexandre Julliard
Sep 16, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
imm32: Update CopyCompOffsetIMEtoClient to handle A->W and W->A conversions.
parent
d8c91f58
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
1 deletion
+14
-1
imm.c
dlls/imm32/imm.c
+14
-1
No files found.
dlls/imm32/imm.c
View file @
b17aa781
...
@@ -1132,7 +1132,20 @@ static INT CopyCompClauseIMEtoClient(InputContextData *data, LPBYTE source, INT
...
@@ -1132,7 +1132,20 @@ static INT CopyCompClauseIMEtoClient(InputContextData *data, LPBYTE source, INT
static
INT
CopyCompOffsetIMEtoClient
(
InputContextData
*
data
,
DWORD
offset
,
LPBYTE
ssource
,
BOOL
unicode
)
static
INT
CopyCompOffsetIMEtoClient
(
InputContextData
*
data
,
DWORD
offset
,
LPBYTE
ssource
,
BOOL
unicode
)
{
{
return
offset
;
int
rc
;
if
(
is_himc_ime_unicode
(
data
)
&&
!
unicode
)
{
rc
=
WideCharToMultiByte
(
CP_ACP
,
0
,
(
LPWSTR
)
ssource
,
offset
,
NULL
,
0
,
NULL
,
NULL
);
}
else
if
(
!
is_himc_ime_unicode
(
data
)
&&
unicode
)
{
rc
=
MultiByteToWideChar
(
CP_ACP
,
0
,
(
LPSTR
)
ssource
,
offset
,
NULL
,
0
);
}
else
rc
=
offset
;
return
rc
;
}
}
static
LONG
ImmGetCompositionStringT
(
HIMC
hIMC
,
DWORD
dwIndex
,
LPVOID
lpBuf
,
static
LONG
ImmGetCompositionStringT
(
HIMC
hIMC
,
DWORD
dwIndex
,
LPVOID
lpBuf
,
...
...
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