Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine-up
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Haidong Yu
wine-up
Commits
87b1115d
Commit
87b1115d
authored
11 years ago
by
Erich Hoover
Committed by
Alexandre Julliard
11 years ago
Browse files
Options
Downloads
Patches
Plain Diff
hhctrl.ocx: Do not destroy the HTML Help window when HH_HELP_CONTEXT finds no context id of 0.
parent
6c0ee62d
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dlls/hhctrl.ocx/hhctrl.c
+2
-0
2 additions, 0 deletions
dlls/hhctrl.ocx/hhctrl.c
with
2 additions
and
0 deletions
dlls/hhctrl.ocx/hhctrl.c
+
2
−
0
View file @
87b1115d
...
...
@@ -273,6 +273,8 @@ HWND WINAPI HtmlHelpW(HWND caller, LPCWSTR filename, UINT command, DWORD_PTR dat
url
=
FindContextAlias
(
info
->
pCHMInfo
,
data
);
if
(
!
url
)
{
if
(
!
data
)
/* there may legitimately be no context alias for id 0 */
return
info
->
WinType
.
hwndHelp
;
ReleaseHelpViewer
(
info
);
return
NULL
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment