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
766768f0
Commit
766768f0
authored
Mar 30, 2015
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Remove left-over freeing of the edit text with ES_PASSWORD.
parent
47ef8ebc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
edit.c
dlls/user32/edit.c
+2
-5
No files found.
dlls/user32/edit.c
View file @
766768f0
...
...
@@ -2194,12 +2194,9 @@ static INT EDIT_PaintText(EDITSTATE *es, HDC dc, INT x, INT y, INT line, INT col
ret
=
(
INT
)
LOWORD
(
TabbedTextOutW
(
dc
,
x
,
y
,
es
->
text
+
li
+
col
,
count
,
es
->
tabs_count
,
es
->
tabs
,
es
->
format_rect
.
left
-
es
->
x_offset
));
}
else
{
LPWSTR
text
=
es
->
text
;
TextOutW
(
dc
,
x
,
y
,
text
+
li
+
col
,
count
);
GetTextExtentPoint32W
(
dc
,
text
+
li
+
col
,
count
,
&
size
);
TextOutW
(
dc
,
x
,
y
,
es
->
text
+
li
+
col
,
count
);
GetTextExtentPoint32W
(
dc
,
es
->
text
+
li
+
col
,
count
,
&
size
);
ret
=
size
.
cx
;
if
(
es
->
style
&
ES_PASSWORD
)
HeapFree
(
GetProcessHeap
(),
0
,
text
);
}
if
(
rev
)
{
if
(
es
->
composition_len
==
0
)
...
...
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