[vlc-commits] Parenthesis

Rémi Denis-Courmont git at videolan.org
Sun Feb 13 13:14:49 CET 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Feb 13 14:14:20 2011 +0200| [1ce085d843255a227a8297eea6c3ae7fbb33f51d] | committer: Rémi Denis-Courmont

Parenthesis

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1ce085d843255a227a8297eea6c3ae7fbb33f51d
---

 modules/gui/qt4/components/preferences_widgets.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/gui/qt4/components/preferences_widgets.cpp b/modules/gui/qt4/components/preferences_widgets.cpp
index 457c6e8..03d157b 100644
--- a/modules/gui/qt4/components/preferences_widgets.cpp
+++ b/modules/gui/qt4/components/preferences_widgets.cpp
@@ -1296,7 +1296,7 @@ void KeySelectorControl::finish()
         module_config_t *p_item = p_config + i;
 
         /* If we are a (non-global) key option not empty */
-        if( (p_item->i_type & CONFIG_ITEM == CONFIG_ITEM_KEY) &&
+        if( ((p_item->i_type & CONFIG_ITEM) == CONFIG_ITEM_KEY) &&
             p_item->psz_name != NULL &&
             strncmp( p_item->psz_name , "global-", 7 ) &&
             !EMPTY_STR( p_item->psz_text ) )



More information about the vlc-commits mailing list