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
67196377
Commit
67196377
authored
Oct 19, 2011
by
Aric Stewart
Committed by
Alexandre Julliard
Oct 19, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Recalculate string length when cropping string to fit.
parent
ec3d0e9b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
edit.c
dlls/user32/edit.c
+1
-0
No files found.
dlls/user32/edit.c
View file @
67196377
...
...
@@ -2489,6 +2489,7 @@ static void EDIT_EM_ReplaceSel(EDITSTATE *es, BOOL can_undo, LPCWSTR lpsz_replac
while
((
es
->
text_width
>
fw
)
&&
s
+
strl
>=
s
)
{
strcpyW
(
es
->
text
+
s
+
strl
-
1
,
es
->
text
+
s
+
strl
);
strl
--
;
es
->
text_length
=
-
1
;
EDIT_InvalidateUniscribeData
(
es
);
EDIT_CalcLineWidth_SL
(
es
);
}
...
...
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