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
b4f2c552
Commit
b4f2c552
authored
Jul 22, 2009
by
Owen Rudge
Committed by
Alexandre Julliard
Jul 22, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winhlp32: Ensure win->page is not NULL when selecting Help on Help.
parent
5e289b91
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
macro.c
programs/winhlp32/macro.c
+5
-2
No files found.
programs/winhlp32/macro.c
View file @
b4f2c552
...
...
@@ -446,10 +446,13 @@ static void CALLBACK MACRO_GotoMark(LPCSTR str)
void
CALLBACK
MACRO_HelpOn
(
void
)
{
LPCSTR
file
;
WINHELP_WINDOW
*
win
=
MACRO_CurrentWindow
();
LPCSTR
file
=
NULL
;
WINE_TRACE
(
"()
\n
"
);
file
=
MACRO_CurrentWindow
()
->
page
->
file
->
help_on_file
;
if
(
win
&&
win
->
page
&&
win
->
page
->
file
)
file
=
win
->
page
->
file
->
help_on_file
;
if
(
!
file
)
file
=
(
Globals
.
wVersion
>
4
)
?
"winhlp32.hlp"
:
"winhelp.hlp"
;
...
...
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