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
69e4c4f1
Commit
69e4c4f1
authored
Feb 20, 2006
by
Uwe Bonnes
Committed by
Alexandre Julliard
Feb 20, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winhelp: Zero out WINHELP_WINDOW in WINHELP_CreateHelpWindow.
parent
3da999a1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
9 deletions
+1
-9
winhelp.c
programs/winhelp/winhelp.c
+1
-9
No files found.
programs/winhelp/winhelp.c
View file @
69e4c4f1
...
...
@@ -485,7 +485,7 @@ BOOL WINHELP_CreateHelpWindow(HLPFILE_PAGE* page, HLPFILE_WINDOWINFO* wi,
bPopup
=
wi
->
win_style
&
WS_POPUP
;
/* Initialize WINHELP_WINDOW struct */
win
=
HeapAlloc
(
GetProcessHeap
(),
0
,
win
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
sizeof
(
WINHELP_WINDOW
)
+
strlen
(
wi
->
name
)
+
1
);
if
(
!
win
)
return
FALSE
;
...
...
@@ -496,13 +496,6 @@ BOOL WINHELP_CreateHelpWindow(HLPFILE_PAGE* page, HLPFILE_WINDOWINFO* wi,
lstrcpy
((
char
*
)
win
->
lpszName
,
wi
->
name
);
win
->
page
=
page
;
win
->
first_button
=
0
;
win
->
first_line
=
0
;
win
->
hMainWnd
=
0
;
win
->
hButtonBoxWnd
=
0
;
win
->
hTextWnd
=
0
;
win
->
hShadowWnd
=
0
;
win
->
hHistoryWnd
=
0
;
win
->
hArrowCur
=
LoadCursorA
(
0
,
(
LPSTR
)
IDC_ARROW
);
win
->
hHandCur
=
LoadCursorA
(
0
,
(
LPSTR
)
IDC_HAND
);
...
...
@@ -539,7 +532,6 @@ BOOL WINHELP_CreateHelpWindow(HLPFILE_PAGE* page, HLPFILE_WINDOWINFO* wi,
MACRO_ExecuteMacro
(
macro
->
lpszMacro
);
}
win
->
histIndex
=
win
->
backIndex
=
0
;
/* Reuse existing window */
if
(
!
bPopup
)
{
...
...
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