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
dd4804c4
Commit
dd4804c4
authored
Nov 08, 2009
by
Rob Shearman
Committed by
Alexandre Julliard
Nov 09, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winhlp32: Restore the original window proc for the richedit control before…
winhlp32: Restore the original window proc for the richedit control before freeing the winhelp window memory.
parent
b960b967
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
winhelp.c
programs/winhlp32/winhelp.c
+5
-0
No files found.
programs/winhlp32/winhelp.c
View file @
dd4804c4
...
...
@@ -541,6 +541,7 @@ static void WINHELP_DeleteWindow(WINHELP_WINDOW* win)
{
WINHELP_WINDOW
**
w
;
BOOL
bExit
;
HWND
hTextWnd
;
for
(
w
=
&
Globals
.
win_list
;
*
w
;
w
=
&
(
*
w
)
->
next
)
{
...
...
@@ -562,6 +563,10 @@ static void WINHELP_DeleteWindow(WINHELP_WINDOW* win)
if
(
win
==
Globals
.
active_popup
)
Globals
.
active_popup
=
NULL
;
hTextWnd
=
GetDlgItem
(
win
->
hMainWnd
,
CTL_ID_TEXT
);
SetWindowLongPtr
(
hTextWnd
,
GWLP_WNDPROC
,
(
LONG_PTR
)
win
->
origRicheditWndProc
);
WINHELP_DeleteButtons
(
win
);
if
(
win
->
page
)
WINHELP_DeletePageLinks
(
win
->
page
);
...
...
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