Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
4ba690e6
Commit
4ba690e6
authored
Apr 27, 2003
by
Brad Campbell
Committed by
Alexandre Julliard
Apr 27, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
EM_REPLACESTR was not respecting buffer_limit.
parent
390a0bff
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
edit.c
controls/edit.c
+3
-3
No files found.
controls/edit.c
View file @
4ba690e6
...
...
@@ -1699,14 +1699,14 @@ static BOOL EDIT_MakeFit(EDITSTATE *es, UINT size, BOOL honor_limit)
{
HLOCAL
hNew32W
;
if
(
size
<=
es
->
buffer_size
)
return
TRUE
;
if
((
honor_limit
)
&&
(
es
->
buffer_limit
>
0
)
&&
(
size
>
es
->
buffer_limit
))
{
EDIT_NOTIFY_PARENT
(
es
,
EN_MAXTEXT
,
"EN_MAXTEXT"
);
return
FALSE
;
}
if
(
size
<=
es
->
buffer_size
)
return
TRUE
;
TRACE
(
"trying to ReAlloc to %d+1 characters
\n
"
,
size
);
/* Force edit to unlock it's buffer. es->text now NULL */
...
...
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