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
48d84eed
Commit
48d84eed
authored
Jan 02, 2015
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jan 06, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dwrite: Unify temp value variable name.
parent
9661f129
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
layout.c
dlls/dwrite/layout.c
+8
-8
No files found.
dlls/dwrite/layout.c
View file @
48d84eed
...
...
@@ -1232,17 +1232,17 @@ static HRESULT WINAPI dwritetextlayout_SetDrawingEffect(IDWriteTextLayout2 *ifac
static
HRESULT
WINAPI
dwritetextlayout_SetInlineObject
(
IDWriteTextLayout2
*
iface
,
IDWriteInlineObject
*
object
,
DWRITE_TEXT_RANGE
range
)
{
struct
dwrite_textlayout
*
This
=
impl_from_IDWriteTextLayout2
(
iface
);
struct
layout_range_attr_value
attr
;
struct
layout_range_attr_value
value
;
TRACE
(
"(%p)->(%p %s)
\n
"
,
This
,
object
,
debugstr_range
(
&
range
));
if
(
!
validate_text_range
(
This
,
&
range
))
return
S_OK
;
attr
.
range
=
range
;
attr
.
u
.
object
=
object
;
value
.
range
=
range
;
value
.
u
.
object
=
object
;
return
set_layout_range_attr
(
This
,
LAYOUT_RANGE_ATTR_INLINE
,
&
attr
);
return
set_layout_range_attr
(
This
,
LAYOUT_RANGE_ATTR_INLINE
,
&
value
);
}
static
HRESULT
WINAPI
dwritetextlayout_SetTypography
(
IDWriteTextLayout2
*
iface
,
IDWriteTypography
*
typography
,
DWRITE_TEXT_RANGE
range
)
...
...
@@ -1255,7 +1255,7 @@ static HRESULT WINAPI dwritetextlayout_SetTypography(IDWriteTextLayout2 *iface,
static
HRESULT
WINAPI
dwritetextlayout_SetLocaleName
(
IDWriteTextLayout2
*
iface
,
WCHAR
const
*
locale
,
DWRITE_TEXT_RANGE
range
)
{
struct
dwrite_textlayout
*
This
=
impl_from_IDWriteTextLayout2
(
iface
);
struct
layout_range_attr_value
attr
;
struct
layout_range_attr_value
value
;
TRACE
(
"(%p)->(%s %s)
\n
"
,
This
,
debugstr_w
(
locale
),
debugstr_range
(
&
range
));
...
...
@@ -1265,10 +1265,10 @@ static HRESULT WINAPI dwritetextlayout_SetLocaleName(IDWriteTextLayout2 *iface,
if
(
!
validate_text_range
(
This
,
&
range
))
return
S_OK
;
attr
.
range
=
range
;
attr
.
u
.
locale
=
locale
;
value
.
range
=
range
;
value
.
u
.
locale
=
locale
;
return
set_layout_range_attr
(
This
,
LAYOUT_RANGE_ATTR_LOCALE
,
&
attr
);
return
set_layout_range_attr
(
This
,
LAYOUT_RANGE_ATTR_LOCALE
,
&
value
);
}
static
FLOAT
WINAPI
dwritetextlayout_GetMaxWidth
(
IDWriteTextLayout2
*
iface
)
...
...
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