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
8fc7e175
Commit
8fc7e175
authored
Dec 26, 2014
by
Nikolay Sivov
Committed by
Alexandre Julliard
Dec 30, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dwrite: Set string pointer in run description when splitting by bidi levels.
parent
e7947359
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
layout.c
dlls/dwrite/layout.c
+2
-0
No files found.
dlls/dwrite/layout.c
View file @
8fc7e175
...
...
@@ -1710,6 +1710,7 @@ static HRESULT WINAPI dwritetextlayout_sink_SetBidiLevel(IDWriteTextAnalysisSink
*
run
=
*
cur
;
run
->
descr
.
textPosition
=
position
;
run
->
descr
.
stringLength
=
cur
->
descr
.
stringLength
-
position
+
cur
->
descr
.
textPosition
;
run
->
descr
.
string
=
&
layout
->
str
[
position
];
run
->
run
.
bidiLevel
=
resolvedLevel
;
cur
->
descr
.
stringLength
-=
position
-
cur
->
descr
.
textPosition
;
...
...
@@ -1726,6 +1727,7 @@ static HRESULT WINAPI dwritetextlayout_sink_SetBidiLevel(IDWriteTextAnalysisSink
*
run2
=
*
cur
;
run2
->
descr
.
textPosition
=
run
->
descr
.
textPosition
+
run
->
descr
.
stringLength
;
run2
->
descr
.
stringLength
=
cur
->
descr
.
textPosition
+
cur
->
descr
.
stringLength
-
position
-
length
;
run2
->
descr
.
string
=
&
layout
->
str
[
run2
->
descr
.
textPosition
];
run
->
descr
.
stringLength
-=
run2
->
descr
.
stringLength
;
list_add_after
(
&
run
->
entry
,
&
run2
->
entry
);
...
...
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