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
1e1ee175
Commit
1e1ee175
authored
Oct 11, 2016
by
Huw Davies
Committed by
Alexandre Julliard
Oct 11, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
riched20: Don't emit default values.
Signed-off-by:
Huw Davies
<
huw@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
8739f450
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
writer.c
dlls/riched20/writer.c
+6
-6
No files found.
dlls/riched20/writer.c
View file @
1e1ee175
...
@@ -549,11 +549,11 @@ ME_StreamOutRTFParaProps(ME_TextEditor *editor, ME_OutStream *pStream,
...
@@ -549,11 +549,11 @@ ME_StreamOutRTFParaProps(ME_TextEditor *editor, ME_OutStream *pStream,
if
(
!
(
editor
->
bEmulateVersion10
&&
/* v1.0 - 3.0 */
if
(
!
(
editor
->
bEmulateVersion10
&&
/* v1.0 - 3.0 */
fmt
->
dwMask
&
PFM_TABLE
&&
fmt
->
wEffects
&
PFE_TABLE
))
fmt
->
dwMask
&
PFM_TABLE
&&
fmt
->
wEffects
&
PFE_TABLE
))
{
{
if
(
fmt
->
d
wMask
&
PFM_OFFSET
)
if
(
fmt
->
d
xOffset
)
sprintf
(
props
+
strlen
(
props
),
"
\\
li%d"
,
fmt
->
dxOffset
);
sprintf
(
props
+
strlen
(
props
),
"
\\
li%d"
,
fmt
->
dxOffset
);
if
(
fmt
->
d
wMask
&
PFM_OFFSETINDENT
||
fmt
->
dwMask
&
PFM_STARTINDENT
)
if
(
fmt
->
d
xStartIndent
)
sprintf
(
props
+
strlen
(
props
),
"
\\
fi%d"
,
fmt
->
dxStartIndent
);
sprintf
(
props
+
strlen
(
props
),
"
\\
fi%d"
,
fmt
->
dxStartIndent
);
if
(
fmt
->
d
wMask
&
PFM_RIGHTINDENT
)
if
(
fmt
->
d
xRightIndent
)
sprintf
(
props
+
strlen
(
props
),
"
\\
ri%d"
,
fmt
->
dxRightIndent
);
sprintf
(
props
+
strlen
(
props
),
"
\\
ri%d"
,
fmt
->
dxRightIndent
);
if
(
fmt
->
dwMask
&
PFM_TABSTOPS
)
{
if
(
fmt
->
dwMask
&
PFM_TABSTOPS
)
{
static
const
char
*
const
leader
[
6
]
=
{
""
,
"
\\
tldot"
,
"
\\
tlhyph"
,
"
\\
tlul"
,
"
\\
tlth"
,
"
\\
tleq"
};
static
const
char
*
const
leader
[
6
]
=
{
""
,
"
\\
tldot"
,
"
\\
tlhyph"
,
"
\\
tlul"
,
"
\\
tlth"
,
"
\\
tleq"
};
...
@@ -579,11 +579,11 @@ ME_StreamOutRTFParaProps(ME_TextEditor *editor, ME_OutStream *pStream,
...
@@ -579,11 +579,11 @@ ME_StreamOutRTFParaProps(ME_TextEditor *editor, ME_OutStream *pStream,
}
}
}
}
}
}
if
(
fmt
->
d
wMask
&
PFM_SPACEAFTER
)
if
(
fmt
->
d
ySpaceAfter
)
sprintf
(
props
+
strlen
(
props
),
"
\\
sa%d"
,
fmt
->
dySpaceAfter
);
sprintf
(
props
+
strlen
(
props
),
"
\\
sa%d"
,
fmt
->
dySpaceAfter
);
if
(
fmt
->
d
wMask
&
PFM_SPACEBEFORE
)
if
(
fmt
->
d
ySpaceBefore
)
sprintf
(
props
+
strlen
(
props
),
"
\\
sb%d"
,
fmt
->
dySpaceBefore
);
sprintf
(
props
+
strlen
(
props
),
"
\\
sb%d"
,
fmt
->
dySpaceBefore
);
if
(
fmt
->
dwMask
&
PFM_STYLE
)
if
(
fmt
->
sStyle
!=
-
1
)
sprintf
(
props
+
strlen
(
props
),
"
\\
s%d"
,
fmt
->
sStyle
);
sprintf
(
props
+
strlen
(
props
),
"
\\
s%d"
,
fmt
->
sStyle
);
if
(
fmt
->
dwMask
&
PFM_SHADING
)
{
if
(
fmt
->
dwMask
&
PFM_SHADING
)
{
...
...
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