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
9b560b5d
Commit
9b560b5d
authored
Apr 25, 2008
by
Kusanagi Kouichi
Committed by
Alexandre Julliard
Apr 25, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
imm32: Fix typos.
parent
4f2330ac
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
imm.c
dlls/imm32/imm.c
+7
-7
No files found.
dlls/imm32/imm.c
View file @
9b560b5d
...
@@ -818,7 +818,7 @@ LONG WINAPI ImmGetCompositionStringA(
...
@@ -818,7 +818,7 @@ LONG WINAPI ImmGetCompositionStringA(
{
{
LPWSTR
ResultStr
=
(
LPWSTR
)(
compdata
+
compstr
->
dwResultStrOffset
);
LPWSTR
ResultStr
=
(
LPWSTR
)(
compdata
+
compstr
->
dwResultStrOffset
);
TRACE
(
"G
SC
_RESULTSTR %p %i
\n
"
,
ResultStr
,
TRACE
(
"G
CS
_RESULTSTR %p %i
\n
"
,
ResultStr
,
compstr
->
dwResultStrLen
);
compstr
->
dwResultStrLen
);
buf
=
HeapAlloc
(
GetProcessHeap
(),
0
,
compstr
->
dwResultStrLen
*
3
);
buf
=
HeapAlloc
(
GetProcessHeap
(),
0
,
compstr
->
dwResultStrLen
*
3
);
...
@@ -835,7 +835,7 @@ LONG WINAPI ImmGetCompositionStringA(
...
@@ -835,7 +835,7 @@ LONG WINAPI ImmGetCompositionStringA(
{
{
LPWSTR
CompString
=
(
LPWSTR
)(
compdata
+
compstr
->
dwCompStrOffset
);
LPWSTR
CompString
=
(
LPWSTR
)(
compdata
+
compstr
->
dwCompStrOffset
);
TRACE
(
"G
SC
_COMPSTR %p %i
\n
"
,
CompString
,
compstr
->
dwCompStrLen
);
TRACE
(
"G
CS
_COMPSTR %p %i
\n
"
,
CompString
,
compstr
->
dwCompStrLen
);
buf
=
HeapAlloc
(
GetProcessHeap
(),
0
,
compstr
->
dwCompStrLen
*
3
);
buf
=
HeapAlloc
(
GetProcessHeap
(),
0
,
compstr
->
dwCompStrLen
*
3
);
rc
=
WideCharToMultiByte
(
CP_ACP
,
0
,
CompString
,
rc
=
WideCharToMultiByte
(
CP_ACP
,
0
,
CompString
,
...
@@ -849,7 +849,7 @@ LONG WINAPI ImmGetCompositionStringA(
...
@@ -849,7 +849,7 @@ LONG WINAPI ImmGetCompositionStringA(
compstr
->
dwCompAttrOffset
>
0
)
compstr
->
dwCompAttrOffset
>
0
)
{
{
LPWSTR
Compattr
=
(
LPWSTR
)(
compdata
+
compstr
->
dwCompAttrOffset
);
LPWSTR
Compattr
=
(
LPWSTR
)(
compdata
+
compstr
->
dwCompAttrOffset
);
TRACE
(
"G
SC
_COMPATTR %p %i
\n
"
,
Compattr
,
compstr
->
dwCompAttrLen
);
TRACE
(
"G
CS
_COMPATTR %p %i
\n
"
,
Compattr
,
compstr
->
dwCompAttrLen
);
rc
=
compstr
->
dwCompAttrLen
;
rc
=
compstr
->
dwCompAttrLen
;
if
(
dwBufLen
>=
rc
)
if
(
dwBufLen
>=
rc
)
...
@@ -859,7 +859,7 @@ LONG WINAPI ImmGetCompositionStringA(
...
@@ -859,7 +859,7 @@ LONG WINAPI ImmGetCompositionStringA(
compstr
->
dwCompClauseOffset
>
0
)
compstr
->
dwCompClauseOffset
>
0
)
{
{
LPWSTR
Compclause
=
(
LPWSTR
)(
compdata
+
compstr
->
dwCompClauseOffset
);
LPWSTR
Compclause
=
(
LPWSTR
)(
compdata
+
compstr
->
dwCompClauseOffset
);
TRACE
(
"G
SC
_COMPCLAUSE %p %i
\n
"
,
Compclause
,
compstr
->
dwCompClauseLen
);
TRACE
(
"G
CS
_COMPCLAUSE %p %i
\n
"
,
Compclause
,
compstr
->
dwCompClauseLen
);
rc
=
compstr
->
dwCompClauseLen
;
rc
=
compstr
->
dwCompClauseLen
;
if
(
dwBufLen
>=
compstr
->
dwCompClauseLen
)
if
(
dwBufLen
>=
compstr
->
dwCompClauseLen
)
...
@@ -869,7 +869,7 @@ LONG WINAPI ImmGetCompositionStringA(
...
@@ -869,7 +869,7 @@ LONG WINAPI ImmGetCompositionStringA(
compstr
->
dwResultClauseOffset
>
0
)
compstr
->
dwResultClauseOffset
>
0
)
{
{
LPWSTR
Resultclause
=
(
LPWSTR
)(
compdata
+
compstr
->
dwResultClauseOffset
);
LPWSTR
Resultclause
=
(
LPWSTR
)(
compdata
+
compstr
->
dwResultClauseOffset
);
TRACE
(
"G
SC
_RESULTCLAUSE %p %i
\n
"
,
Resultclause
,
compstr
->
dwResultClauseLen
);
TRACE
(
"G
CS
_RESULTCLAUSE %p %i
\n
"
,
Resultclause
,
compstr
->
dwResultClauseLen
);
rc
=
compstr
->
dwResultClauseLen
;
rc
=
compstr
->
dwResultClauseLen
;
if
(
dwBufLen
>=
compstr
->
dwResultClauseLen
)
if
(
dwBufLen
>=
compstr
->
dwResultClauseLen
)
...
@@ -877,7 +877,7 @@ LONG WINAPI ImmGetCompositionStringA(
...
@@ -877,7 +877,7 @@ LONG WINAPI ImmGetCompositionStringA(
}
}
else
if
(
dwIndex
==
GCS_CURSORPOS
)
else
if
(
dwIndex
==
GCS_CURSORPOS
)
{
{
TRACE
(
"G
SC
_CURSORPOS
\n
"
);
TRACE
(
"G
CS
_CURSORPOS
\n
"
);
rc
=
compstr
->
dwCursorPos
;
rc
=
compstr
->
dwCursorPos
;
}
}
else
if
(
dwIndex
==
GCS_DELTASTART
)
else
if
(
dwIndex
==
GCS_DELTASTART
)
...
@@ -975,7 +975,7 @@ LONG WINAPI ImmGetCompositionStringW(
...
@@ -975,7 +975,7 @@ LONG WINAPI ImmGetCompositionStringW(
}
}
else
if
(
dwIndex
==
GCS_CURSORPOS
)
else
if
(
dwIndex
==
GCS_CURSORPOS
)
{
{
TRACE
(
"G
SC
_CURSORPOS
\n
"
);
TRACE
(
"G
CS
_CURSORPOS
\n
"
);
rc
=
compstr
->
dwCursorPos
;
rc
=
compstr
->
dwCursorPos
;
}
}
else
if
(
dwIndex
==
GCS_DELTASTART
)
else
if
(
dwIndex
==
GCS_DELTASTART
)
...
...
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