mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-11 13:29:21 +03:00
do not send around message for NULL dialog.
svn path=/trunk/netsurf/; revision=12782
This commit is contained in:
parent
46339a296b
commit
6cde3888af
@ -225,7 +225,7 @@ static void __CDECL evnt_close( WINDOW *win, short buff[8])
|
||||
void search_destroy( struct gui_window * gw )
|
||||
{
|
||||
LOG(("search_destroy %p / %p", gw, current ));
|
||||
if( current != NULL ){
|
||||
if( current != NULL && current->formwind != NULL ){
|
||||
ApplWrite( _AESapid, WM_CLOSED, current->formwind->handle, 0,0,0,0);
|
||||
/* Handle Close event */
|
||||
EvntWindom( MU_MESAG );
|
||||
|
Loading…
Reference in New Issue
Block a user