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
4aef5cb8
Commit
4aef5cb8
authored
Apr 14, 2008
by
Lei Zhang
Committed by
Alexandre Julliard
Apr 15, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Do checks in the right order in EDIT_BuildLineDefs_ML.
parent
b56a072e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
edit.c
dlls/user32/edit.c
+3
-3
No files found.
dlls/user32/edit.c
View file @
4aef5cb8
...
...
@@ -1277,9 +1277,9 @@ static void EDIT_BuildLineDefs_ML(EDITSTATE *es, INT istart, INT iend, INT delta
current_line
->
width
=
(
INT
)
LOWORD
(
GetTabbedTextExtentW
(
dc
,
current_position
,
current_line
->
net_length
,
es
->
tabs_count
,
es
->
tabs
));
}
else
if
(
orig_net_length
<
current_line
->
net_length
&&
current_line
==
start_line
&&
current_line
->
index
!=
nstart_index
)
{
else
if
(
current_line
==
start_line
&&
current_line
->
index
!=
nstart_index
&&
orig_net_length
<
current_line
->
net_length
)
{
/* The previous line expanded but it's still not as wide as the client rect */
/* The expansion is due to an upwards line wrap so we must partially include
it in the update region */
...
...
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