From 9632f52e4fcf301c71c1fc3c4785baf9134aa5a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Duraffort?= Date: Mon, 22 Jul 2013 19:22:06 +0200 Subject: [PATCH] Fix wrong test (cid #1049310) --- 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 5645940895..1b2ee42c06 100644 --- a/modules/control/hotkeys.c +++ b/modules/control/hotkeys.c @@ -964,7 +964,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; int i;