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
b628482d
Commit
b628482d
authored
Aug 12, 2008
by
Dylan Smith
Committed by
Alexandre Julliard
Aug 18, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
richedit: Removed an unused local variable and assignments to it.
parent
fe1a24ff
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
10 deletions
+2
-10
paint.c
dlls/riched20/paint.c
+2
-10
No files found.
dlls/riched20/paint.c
View file @
b628482d
...
...
@@ -667,9 +667,9 @@ void ME_DrawParagraph(ME_Context *c, ME_DisplayItem *paragraph) {
ME_DisplayItem
*
p
;
ME_Run
*
run
;
ME_Paragraph
*
para
=
NULL
;
RECT
rc
,
rcText
,
bounds
;
RECT
rc
,
bounds
;
int
y
=
c
->
pt
.
y
;
int
height
=
0
,
baseline
=
0
,
no
=
0
,
pno
=
0
;
int
height
=
0
,
baseline
=
0
,
no
=
0
;
BOOL
visible
=
FALSE
;
c
->
pt
.
x
=
c
->
rcView
.
left
;
...
...
@@ -680,15 +680,11 @@ void ME_DrawParagraph(ME_Context *c, ME_DisplayItem *paragraph) {
case
diParagraph
:
para
=
&
p
->
member
.
para
;
assert
(
para
);
pno
=
0
;
if
(
para
->
pCell
)
{
ME_Cell
*
cell
=
&
para
->
pCell
->
member
.
cell
;
rc
.
left
=
cell
->
pt
.
x
;
rc
.
right
=
rc
.
left
+
cell
->
nWidth
;
rcText
.
left
=
cell
->
pt
.
x
+
ME_twips2pointsX
(
c
,
para
->
pFmt
->
dxStartIndent
);
rcText
.
right
=
cell
->
pt
.
x
+
cell
->
nWidth
-
ME_twips2pointsX
(
c
,
para
->
pFmt
->
dxRightIndent
);
}
if
(
para
->
nFlags
&
MEPF_ROWSTART
)
{
ME_Cell
*
cell
=
&
para
->
next_para
->
member
.
para
.
pCell
->
member
.
cell
;
...
...
@@ -697,8 +693,6 @@ void ME_DrawParagraph(ME_Context *c, ME_DisplayItem *paragraph) {
ME_Cell
*
cell
=
&
para
->
prev_para
->
member
.
para
.
pCell
->
member
.
cell
;
rc
.
left
=
cell
->
pt
.
x
+
cell
->
nWidth
;
}
rcText
.
left
=
rc
.
left
+
ME_twips2pointsX
(
c
,
para
->
pFmt
->
dxStartIndent
);
rcText
.
right
=
rc
.
right
-
ME_twips2pointsX
(
c
,
para
->
pFmt
->
dxRightIndent
);
ME_DrawParaDecoration
(
c
,
para
,
y
,
&
bounds
);
y
+=
bounds
.
top
;
break
;
...
...
@@ -732,8 +726,6 @@ void ME_DrawParagraph(ME_Context *c, ME_DisplayItem *paragraph) {
height
=
p
->
member
.
row
.
nHeight
;
baseline
=
p
->
member
.
row
.
nBaseline
;
if
(
!
pno
++
)
rcText
.
right
+=
ME_twips2pointsX
(
c
,
para
->
pFmt
->
dxOffset
);
break
;
case
diRun
:
assert
(
para
);
...
...
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