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
619f6dcc
Commit
619f6dcc
authored
May 22, 2011
by
Gerald Pfeifer
Committed by
Alexandre Julliard
May 25, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
imm32: Simplify CopyCompClauseIMEtoClient and callees by shedding an unused parameter.
parent
d8ed83e3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
imm.c
dlls/imm32/imm.c
+5
-5
No files found.
dlls/imm32/imm.c
View file @
619f6dcc
...
@@ -1154,7 +1154,7 @@ static INT CopyCompAttrIMEtoClient(InputContextData *data, LPBYTE source, INT sl
...
@@ -1154,7 +1154,7 @@ static INT CopyCompAttrIMEtoClient(InputContextData *data, LPBYTE source, INT sl
return
rc
;
return
rc
;
}
}
static
INT
CopyCompClauseIMEtoClient
(
InputContextData
*
data
,
LPBYTE
source
,
INT
slen
,
LPBYTE
ssource
,
INT
sslen
,
static
INT
CopyCompClauseIMEtoClient
(
InputContextData
*
data
,
LPBYTE
source
,
INT
slen
,
LPBYTE
ssource
,
LPBYTE
target
,
INT
tlen
,
BOOL
unicode
)
LPBYTE
target
,
INT
tlen
,
BOOL
unicode
)
{
{
INT
rc
;
INT
rc
;
...
@@ -1265,13 +1265,13 @@ static LONG ImmGetCompositionStringT( HIMC hIMC, DWORD dwIndex, LPVOID lpBuf,
...
@@ -1265,13 +1265,13 @@ static LONG ImmGetCompositionStringT( HIMC hIMC, DWORD dwIndex, LPVOID lpBuf,
case
GCS_COMPCLAUSE
:
case
GCS_COMPCLAUSE
:
TRACE
(
"GCS_COMPCLAUSE
\n
"
);
TRACE
(
"GCS_COMPCLAUSE
\n
"
);
rc
=
CopyCompClauseIMEtoClient
(
data
,
compdata
+
compstr
->
dwCompClauseOffset
,
compstr
->
dwCompClauseLen
,
rc
=
CopyCompClauseIMEtoClient
(
data
,
compdata
+
compstr
->
dwCompClauseOffset
,
compstr
->
dwCompClauseLen
,
compdata
+
compstr
->
dwCompStrOffset
,
compstr
->
dwCompStrLen
,
compdata
+
compstr
->
dwCompStrOffset
,
lpBuf
,
dwBufLen
,
unicode
);
lpBuf
,
dwBufLen
,
unicode
);
break
;
break
;
case
GCS_RESULTCLAUSE
:
case
GCS_RESULTCLAUSE
:
TRACE
(
"GCS_RESULTCLAUSE
\n
"
);
TRACE
(
"GCS_RESULTCLAUSE
\n
"
);
rc
=
CopyCompClauseIMEtoClient
(
data
,
compdata
+
compstr
->
dwResultClauseOffset
,
compstr
->
dwResultClauseLen
,
rc
=
CopyCompClauseIMEtoClient
(
data
,
compdata
+
compstr
->
dwResultClauseOffset
,
compstr
->
dwResultClauseLen
,
compdata
+
compstr
->
dwResultStrOffset
,
compstr
->
dwResultStrLen
,
compdata
+
compstr
->
dwResultStrOffset
,
lpBuf
,
dwBufLen
,
unicode
);
lpBuf
,
dwBufLen
,
unicode
);
break
;
break
;
case
GCS_RESULTREADSTR
:
case
GCS_RESULTREADSTR
:
...
@@ -1281,7 +1281,7 @@ static LONG ImmGetCompositionStringT( HIMC hIMC, DWORD dwIndex, LPVOID lpBuf,
...
@@ -1281,7 +1281,7 @@ static LONG ImmGetCompositionStringT( HIMC hIMC, DWORD dwIndex, LPVOID lpBuf,
case
GCS_RESULTREADCLAUSE
:
case
GCS_RESULTREADCLAUSE
:
TRACE
(
"GCS_RESULTREADCLAUSE
\n
"
);
TRACE
(
"GCS_RESULTREADCLAUSE
\n
"
);
rc
=
CopyCompClauseIMEtoClient
(
data
,
compdata
+
compstr
->
dwResultReadClauseOffset
,
compstr
->
dwResultReadClauseLen
,
rc
=
CopyCompClauseIMEtoClient
(
data
,
compdata
+
compstr
->
dwResultReadClauseOffset
,
compstr
->
dwResultReadClauseLen
,
compdata
+
compstr
->
dwResultStrOffset
,
compstr
->
dwResultStrLen
,
compdata
+
compstr
->
dwResultStrOffset
,
lpBuf
,
dwBufLen
,
unicode
);
lpBuf
,
dwBufLen
,
unicode
);
break
;
break
;
case
GCS_COMPREADSTR
:
case
GCS_COMPREADSTR
:
...
@@ -1297,7 +1297,7 @@ static LONG ImmGetCompositionStringT( HIMC hIMC, DWORD dwIndex, LPVOID lpBuf,
...
@@ -1297,7 +1297,7 @@ static LONG ImmGetCompositionStringT( HIMC hIMC, DWORD dwIndex, LPVOID lpBuf,
case
GCS_COMPREADCLAUSE
:
case
GCS_COMPREADCLAUSE
:
TRACE
(
"GCS_COMPREADCLAUSE
\n
"
);
TRACE
(
"GCS_COMPREADCLAUSE
\n
"
);
rc
=
CopyCompClauseIMEtoClient
(
data
,
compdata
+
compstr
->
dwCompReadClauseOffset
,
compstr
->
dwCompReadClauseLen
,
rc
=
CopyCompClauseIMEtoClient
(
data
,
compdata
+
compstr
->
dwCompReadClauseOffset
,
compstr
->
dwCompReadClauseLen
,
compdata
+
compstr
->
dwCompStrOffset
,
compstr
->
dwCompStrLen
,
compdata
+
compstr
->
dwCompStrOffset
,
lpBuf
,
dwBufLen
,
unicode
);
lpBuf
,
dwBufLen
,
unicode
);
break
;
break
;
case
GCS_CURSORPOS
:
case
GCS_CURSORPOS
:
...
...
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