[vlc-devel] commit: Small cleanup ( Rémi Denis-Courmont )
git version control
git at videolan.org
Sun Feb 1 13:36:28 CET 2009
vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Sun Feb 1 14:36:01 2009 +0200| [3230451120445d9f610e1749075a413c3e2dddc2] | committer: Rémi Denis-Courmont
Small cleanup
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3230451120445d9f610e1749075a413c3e2dddc2
---
src/interface/interaction.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/src/interface/interaction.c b/src/interface/interaction.c
index 53209b5..9103236 100644
--- a/src/interface/interaction.c
+++ b/src/interface/interaction.c
@@ -163,8 +163,7 @@ int __intf_UserYesNo( vlc_object_t *p_this,
p_new->i_flags = DIALOG_YES_NO_CANCEL;
p_new->psz_default_button = strdup( psz_default );
p_new->psz_alternate_button = strdup( psz_alternate );
- if( psz_other )
- p_new->psz_other_button = strdup( psz_other );
+ p_new->psz_other_button = psz_other ? strdup( psz_other ) : NULL;
return DialogSend( p_new );
}
More information about the vlc-devel
mailing list