mirror of
https://github.com/reactos/wine.git
synced 2025-02-18 11:58:22 +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…
x
Reference in New Issue
Block a user