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
c8d96b96
Commit
c8d96b96
authored
Oct 07, 2016
by
Huw Davies
Committed by
Alexandre Julliard
Oct 07, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wordpad: Improve the indentation of bulleted lists.
Signed-off-by:
Huw Davies
<
huw@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
123b0c69
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
wordpad.c
programs/wordpad/wordpad.c
+9
-3
No files found.
programs/wordpad/wordpad.c
View file @
c8d96b96
...
...
@@ -2353,22 +2353,28 @@ static LRESULT OnCommand( HWND hWnd, WPARAM wParam, LPARAM lParam)
case
ID_BULLET
:
{
PARAFORMAT
pf
;
PARAFORMAT
2
pf
;
pf
.
cbSize
=
sizeof
(
pf
);
pf
.
dwMask
=
PFM_NUMBERING
;
SendMessageW
(
hwndEditor
,
EM_GETPARAFORMAT
,
0
,
(
LPARAM
)
&
pf
);
pf
.
dwMask
|=
PFM_OFFSE
T
;
pf
.
dwMask
=
PFM_NUMBERING
|
PFM_NUMBERINGSTART
|
PFM_NUMBERINGTAB
|
PFM_OFFSET
|
PFM_OFFSETINDEN
T
;
if
(
pf
.
wNumbering
==
PFN_BULLET
)
{
pf
.
wNumbering
=
0
;
pf
.
wNumberingStart
=
0
;
pf
.
wNumberingTab
=
0
;
pf
.
dxOffset
=
0
;
pf
.
dxStartIndent
=
-
360
;
}
else
{
pf
.
wNumbering
=
PFN_BULLET
;
pf
.
dxOffset
=
720
;
pf
.
wNumberingStart
=
1
;
pf
.
wNumberingTab
=
360
;
pf
.
dxOffset
=
360
;
pf
.
dxStartIndent
=
360
;
}
SendMessageW
(
hwndEditor
,
EM_SETPARAFORMAT
,
0
,
(
LPARAM
)
&
pf
);
...
...
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