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
8d0799a7
Commit
8d0799a7
authored
Jan 01, 2008
by
Eric Pouech
Committed by
Alexandre Julliard
Jan 02, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
richedit: Fully initialize the first style.
parent
be785a29
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
para.c
dlls/riched20/para.c
+4
-2
No files found.
dlls/riched20/para.c
View file @
8d0799a7
...
...
@@ -44,7 +44,7 @@ void ME_MakeFirstParagraph(HDC hDC, ME_TextBuffer *text)
cf
.
dwMask
|=
CFM_ALLCAPS
|
CFM_BOLD
|
CFM_DISABLED
|
CFM_EMBOSS
|
CFM_HIDDEN
;
cf
.
dwMask
|=
CFM_IMPRINT
|
CFM_ITALIC
|
CFM_LINK
|
CFM_OUTLINE
|
CFM_PROTECTED
;
cf
.
dwMask
|=
CFM_REVISED
|
CFM_SHADOW
|
CFM_SMALLCAPS
|
CFM_STRIKEOUT
;
cf
.
dwMask
|=
CFM_SUBSCRIPT
|
CFM_UNDERLINE
;
cf
.
dwMask
|=
CFM_SUBSCRIPT
|
CFM_UNDERLINE
|
CFM_WEIGHT
;
cf
.
dwEffects
=
CFE_AUTOCOLOR
|
CFE_AUTOBACKCOLOR
;
lstrcpyW
(
cf
.
szFaceName
,
lf
.
lfFaceName
);
...
...
@@ -55,7 +55,9 @@ void ME_MakeFirstParagraph(HDC hDC, ME_TextBuffer *text)
if
(
lf
.
lfItalic
)
cf
.
dwEffects
|=
CFE_ITALIC
;
if
(
lf
.
lfUnderline
)
cf
.
dwEffects
|=
CFE_UNDERLINE
;
if
(
lf
.
lfStrikeOut
)
cf
.
dwEffects
|=
CFE_STRIKEOUT
;
cf
.
bPitchAndFamily
=
lf
.
lfPitchAndFamily
;
cf
.
bCharSet
=
lf
.
lfCharSet
;
ZeroMemory
(
&
fmt
,
sizeof
(
fmt
));
fmt
.
cbSize
=
sizeof
(
fmt
);
fmt
.
dwMask
=
PFM_ALIGNMENT
|
PFM_OFFSET
|
PFM_STARTINDENT
|
PFM_RIGHTINDENT
|
PFM_TABSTOPS
;
...
...
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