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
15251ad8
Commit
15251ad8
authored
Jul 28, 2010
by
Dylan Smith
Committed by
Alexandre Julliard
Jul 29, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
richedit: Removed redundant variable ptLastSplittableRun.
parent
dfa80b35
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
editstr.h
dlls/riched20/editstr.h
+0
-1
wrap.c
dlls/riched20/wrap.c
+2
-3
No files found.
dlls/riched20/editstr.h
View file @
15251ad8
...
...
@@ -414,7 +414,6 @@ typedef struct tagME_WrapContext
ME_DisplayItem
*
pRowStart
;
ME_DisplayItem
*
pLastSplittableRun
;
POINT
ptLastSplittableRun
;
}
ME_WrapContext
;
#endif
dlls/riched20/wrap.c
View file @
15251ad8
...
...
@@ -271,7 +271,7 @@ static ME_DisplayItem *ME_SplitByBacktracking(ME_WrapContext *wc, ME_DisplayItem
{
if
(
wc
->
pLastSplittableRun
->
member
.
run
.
nFlags
&
(
MERF_GRAPHICS
|
MERF_TAB
))
{
wc
->
pt
=
wc
->
p
tLastSplittableRun
;
wc
->
pt
=
wc
->
p
LastSplittableRun
->
member
.
run
.
pt
;
return
wc
->
pLastSplittableRun
;
}
else
if
(
wc
->
pLastSplittableRun
->
member
.
run
.
nFlags
&
MERF_SPLITTABLE
)
...
...
@@ -299,7 +299,7 @@ static ME_DisplayItem *ME_SplitByBacktracking(ME_WrapContext *wc, ME_DisplayItem
else
{
/* restart from the first run beginning with spaces */
wc
->
pt
=
wc
->
p
tLastSplittableRun
;
wc
->
pt
=
wc
->
p
LastSplittableRun
->
member
.
run
.
pt
;
return
wc
->
pLastSplittableRun
;
}
}
...
...
@@ -451,7 +451,6 @@ static ME_DisplayItem *ME_WrapHandleRun(ME_WrapContext *wc, ME_DisplayItem *p)
||
((
run
->
nFlags
&
(
MERF_GRAPHICS
|
MERF_TAB
))
&&
(
p
!=
wc
->
pRowStart
)))
{
wc
->
pLastSplittableRun
=
p
;
wc
->
ptLastSplittableRun
=
wc
->
pt
;
}
wc
->
pt
.
x
+=
run
->
nWidth
;
return
p
->
next
;
...
...
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