Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
6f11b1b3
Commit
6f11b1b3
authored
May 02, 2008
by
Dylan Smith
Committed by
Alexandre Julliard
May 05, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
richedit: Removed useless code.
parent
7b5561cb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
6 deletions
+1
-6
paint.c
dlls/riched20/paint.c
+1
-4
wrap.c
dlls/riched20/wrap.c
+0
-2
No files found.
dlls/riched20/paint.c
View file @
6f11b1b3
...
...
@@ -43,8 +43,7 @@ void ME_PaintContent(ME_TextEditor *editor, HDC hDC, BOOL bOnlyNew, const RECT *
{
BOOL
bPaint
=
(
rcUpdate
==
NULL
);
if
(
rcUpdate
)
bPaint
=
c
.
pt
.
y
<
rcUpdate
->
bottom
&&
c
.
pt
.
y
+
item
->
member
.
para
.
nHeight
>
rcUpdate
->
top
;
bPaint
=
c
.
pt
.
y
<
rcUpdate
->
bottom
&&
ye
>
rcUpdate
->
top
;
if
(
bPaint
)
{
ME_DrawParagraph
(
&
c
,
item
);
...
...
@@ -85,8 +84,6 @@ void ME_PaintContent(ME_TextEditor *editor, HDC hDC, BOOL bOnlyNew, const RECT *
rc
.
bottom
=
ye
;
FillRect
(
hDC
,
&
rc
,
c
.
editor
->
hbrBackground
);
}
if
(
ys
==
c
.
pt
.
y
)
/* don't overwrite the top bar */
ys
++
;
}
if
(
editor
->
nTotalLength
!=
editor
->
nLastTotalLength
)
ME_SendRequestResize
(
editor
,
FALSE
);
...
...
dlls/riched20/wrap.c
View file @
6f11b1b3
...
...
@@ -473,8 +473,6 @@ BOOL ME_WrapMarkedParagraphs(ME_TextEditor *editor) {
int
yStart
=
-
1
;
ME_InitContext
(
&
c
,
editor
,
GetDC
(
editor
->
hWnd
));
c
.
pt
.
x
=
0
;
c
.
pt
.
y
=
0
;
editor
->
nHeight
=
0
;
item
=
editor
->
pBuffer
->
pFirst
->
next
;
while
(
item
!=
editor
->
pBuffer
->
pLast
)
{
...
...
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