mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 02:18:20 +00:00
winhelp: Do not create popup window if file not found.
This commit is contained in:
parent
2f6fb152a2
commit
a9ae65d2f6
|
@ -1195,7 +1195,7 @@ static LRESULT CALLBACK WINHELP_TextWndProc(HWND hWnd, UINT msg, WPARAM wParam,
|
|||
break;
|
||||
case hlp_link_popup:
|
||||
hlpfile = WINHELP_LookupHelpFile(part->link->lpszString);
|
||||
WINHELP_CreateHelpWindowByHash(hlpfile, part->link->lHash,
|
||||
if (hlpfile) WINHELP_CreateHelpWindowByHash(hlpfile, part->link->lHash,
|
||||
WINHELP_GetPopupWindowInfo(hlpfile, hWnd, &mouse),
|
||||
SW_NORMAL);
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue