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
a32f1f2c
Commit
a32f1f2c
authored
Oct 10, 2008
by
Dylan Smith
Committed by
Alexandre Julliard
Oct 13, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
richedit: Account for selection bar in calculating available width.
parent
47ac325f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
wrap.c
dlls/riched20/wrap.c
+2
-1
No files found.
dlls/riched20/wrap.c
View file @
a32f1f2c
...
...
@@ -75,7 +75,8 @@ static void ME_BeginRow(ME_WrapContext *wc, ME_DisplayItem *para)
-
(
wc
->
nRow
?
wc
->
nLeftMargin
:
wc
->
nFirstMargin
)
-
wc
->
nRightMargin
;
}
else
if
(
wc
->
context
->
editor
->
bWordWrap
)
{
wc
->
nAvailWidth
=
wc
->
context
->
rcView
.
right
-
wc
->
context
->
rcView
.
left
-
(
wc
->
nRow
?
wc
->
nLeftMargin
:
wc
->
nFirstMargin
)
-
wc
->
nRightMargin
;
-
(
wc
->
nRow
?
wc
->
nLeftMargin
:
wc
->
nFirstMargin
)
-
wc
->
nRightMargin
-
wc
->
context
->
editor
->
selofs
;
}
else
{
wc
->
nAvailWidth
=
~
0u
>>
1
;
}
...
...
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