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

Small cleanup

parent 448917d7
...@@ -163,8 +163,7 @@ int __intf_UserYesNo( vlc_object_t *p_this, ...@@ -163,8 +163,7 @@ int __intf_UserYesNo( vlc_object_t *p_this,
p_new->i_flags = DIALOG_YES_NO_CANCEL; p_new->i_flags = DIALOG_YES_NO_CANCEL;
p_new->psz_default_button = strdup( psz_default ); p_new->psz_default_button = strdup( psz_default );
p_new->psz_alternate_button = strdup( psz_alternate ); p_new->psz_alternate_button = strdup( psz_alternate );
if( psz_other ) p_new->psz_other_button = psz_other ? strdup( psz_other ) : NULL;
p_new->psz_other_button = strdup( psz_other );
return DialogSend( p_new ); return DialogSend( p_new );
} }
......
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