Commit 4e4c2b06 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Do not crash when there is no X

parent a60436b4
......@@ -136,7 +136,10 @@ static int Open( vlc_object_t *p_this )
static int OpenDialogs( vlc_object_t *p_this )
{
intf_thread_t *p_intf = (intf_thread_t *)p_this;
Open( p_this );
int val = Open( p_this );
if( val )
return val;
p_intf->pf_show_dialog = ShowDialog;
return VLC_SUCCESS;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment