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
205df00c
Commit
205df00c
authored
Oct 04, 2009
by
Sergey Khodych
Committed by
Alexandre Julliard
Oct 13, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
riched20: Cache ES_WANTRETURN style.
parent
2fda19ca
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
txthost.c
dlls/riched20/txthost.c
+1
-0
No files found.
dlls/riched20/txthost.c
View file @
205df00c
...
...
@@ -59,6 +59,7 @@ ITextHost *ME_CreateTextHost(HWND hwnd, CREATESTRUCTW *cs, BOOL bEmulateVersion1
editor
=
ME_MakeEditor
((
ITextHost
*
)
texthost
,
bEmulateVersion10
);
editor
->
exStyleFlags
=
GetWindowLongW
(
hwnd
,
GWL_EXSTYLE
);
editor
->
styleFlags
|=
GetWindowLongW
(
hwnd
,
GWL_STYLE
)
&
ES_WANTRETURN
;
editor
->
hWnd
=
hwnd
;
/* FIXME: Remove editor's dependence on hWnd */
editor
->
hwndParent
=
cs
->
hwndParent
;
SetWindowLongPtrW
(
hwnd
,
0
,
(
LONG_PTR
)
editor
);
...
...
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