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
8dd0738b
Commit
8dd0738b
authored
Aug 20, 2015
by
Nikolay Sivov
Committed by
Alexandre Julliard
Aug 21, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dwrite/tests: Fix layout test failure on Win10.
parent
0174a6fc
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
layout.c
dlls/dwrite/tests/layout.c
+1
-1
dwrite.idl
include/dwrite.idl
+2
-1
No files found.
dlls/dwrite/tests/layout.c
View file @
8dd0738b
...
...
@@ -975,7 +975,7 @@ if (0) /* crashes on native */
hr
=
IDWriteTextFormat_SetLineSpacing
(
format
,
DWRITE_LINE_SPACING_METHOD_DEFAULT
,
-
10
.
0
,
0
.
0
);
ok
(
hr
==
E_INVALIDARG
,
"got 0x%08x
\n
"
,
hr
);
hr
=
IDWriteTextFormat_SetLineSpacing
(
format
,
DWRITE_LINE_SPACING_METHOD_
UNIFORM
+
1
,
0
.
0
,
0
.
0
);
hr
=
IDWriteTextFormat_SetLineSpacing
(
format
,
DWRITE_LINE_SPACING_METHOD_
PROPORTIONAL
+
1
,
0
.
0
,
0
.
0
);
ok
(
hr
==
E_INVALIDARG
,
"got 0x%08x
\n
"
,
hr
);
hr
=
IDWriteTextFormat_SetTrimming
(
format
,
&
trimming
,
NULL
);
...
...
include/dwrite.idl
View file @
8dd0738b
...
...
@@ -219,7 +219,8 @@ typedef enum DWRITE_BREAK_CONDITION
typedef
enum
DWRITE_LINE_SPACING_METHOD
{
DWRITE_LINE_SPACING_METHOD_DEFAULT
,
DWRITE_LINE_SPACING_METHOD_UNIFORM
DWRITE_LINE_SPACING_METHOD_UNIFORM
,
DWRITE_LINE_SPACING_METHOD_PROPORTIONAL
}
DWRITE_LINE_SPACING_METHOD
;
cpp_quote
(
"#define DWRITE_MAKE_OPENTYPE_TAG(a,b,c,d) ( \\"
)
...
...
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