[vlc-commits] hotkeys: Fix test (was always true)
Rémi Duraffort
git at videolan.org
Fri Aug 9 10:24:37 CEST 2013
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Thu Aug 8 18:53:40 2013 +0200| [f393ebdfb852b53637421c57a574cb420fd184c7] | committer: Jean-Baptiste Kempf
hotkeys: Fix test (was always true)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f393ebdfb852b53637421c57a574cb420fd184c7
---
modules/control/hotkeys.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/control/hotkeys.c b/modules/control/hotkeys.c
index 1b2ee42..e23156e 100644
--- a/modules/control/hotkeys.c
+++ b/modules/control/hotkeys.c
@@ -939,7 +939,7 @@ static int PutAction( intf_thread_t *p_intf, int i_action )
char *psz_mode = var_GetString( p_vout, "deinterlace-mode" );
vlc_value_t vlist, tlist;
- if( psz_mode && !var_Change( p_vout, "deinterlace-mode", VLC_VAR_GETCHOICES, &vlist, &tlist ) >= 0 )
+ if( psz_mode && !var_Change( p_vout, "deinterlace-mode", VLC_VAR_GETCHOICES, &vlist, &tlist ) )
{
const char *psz_text = NULL;
for( int i = 0; i < vlist.p_list->i_count; i++ )
More information about the vlc-commits
mailing list