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
0d554fee
Commit
0d554fee
authored
Oct 24, 2023
by
Jacek Caban
Committed by
Alexandre Julliard
Nov 03, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msctf: Avoid implicit enum casts.
parent
1ee26813
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
context.c
dlls/msctf/context.c
+1
-1
range.c
dlls/msctf/range.c
+1
-1
No files found.
dlls/msctf/context.c
View file @
0d554fee
...
@@ -305,7 +305,7 @@ static HRESULT WINAPI Context_GetSelection (ITfContext *iface,
...
@@ -305,7 +305,7 @@ static HRESULT WINAPI Context_GetSelection (ITfContext *iface,
return
TF_E_NOLOCK
;
return
TF_E_NOLOCK
;
else
if
(
SUCCEEDED
(
hr
))
else
if
(
SUCCEEDED
(
hr
))
{
{
pSelection
[
totalFetched
].
style
.
ase
=
acps
.
style
.
ase
;
pSelection
[
totalFetched
].
style
.
ase
=
(
TfActiveSelEnd
)
acps
.
style
.
ase
;
pSelection
[
totalFetched
].
style
.
fInterimChar
=
acps
.
style
.
fInterimChar
;
pSelection
[
totalFetched
].
style
.
fInterimChar
=
acps
.
style
.
fInterimChar
;
Range_Constructor
(
iface
,
acps
.
acpStart
,
acps
.
acpEnd
,
&
pSelection
[
totalFetched
].
range
);
Range_Constructor
(
iface
,
acps
.
acpStart
,
acps
.
acpEnd
,
&
pSelection
[
totalFetched
].
range
);
totalFetched
++
;
totalFetched
++
;
...
...
dlls/msctf/range.c
View file @
0d554fee
...
@@ -362,7 +362,7 @@ HRESULT TF_SELECTION_to_TS_SELECTION_ACP(const TF_SELECTION *tf, TS_SELECTION_AC
...
@@ -362,7 +362,7 @@ HRESULT TF_SELECTION_to_TS_SELECTION_ACP(const TF_SELECTION *tf, TS_SELECTION_AC
tsAcp
->
acpStart
=
This
->
anchorStart
;
tsAcp
->
acpStart
=
This
->
anchorStart
;
tsAcp
->
acpEnd
=
This
->
anchorEnd
;
tsAcp
->
acpEnd
=
This
->
anchorEnd
;
tsAcp
->
style
.
ase
=
tf
->
style
.
ase
;
tsAcp
->
style
.
ase
=
(
TsActiveSelEnd
)
tf
->
style
.
ase
;
tsAcp
->
style
.
fInterimChar
=
tf
->
style
.
fInterimChar
;
tsAcp
->
style
.
fInterimChar
=
tf
->
style
.
fInterimChar
;
return
S_OK
;
return
S_OK
;
}
}
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