changeset 36976:cb1abce33f20

Add parentheses (for clarity).
author ib
date Wed, 26 Mar 2014 16:21:52 +0000
parents 91f11a849d4d
children dc70bee70223
files gui/interface.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gui/interface.c	Wed Mar 26 16:18:51 2014 +0000
+++ b/gui/interface.c	Wed Mar 26 16:21:52 2014 +0000
@@ -707,7 +707,7 @@
         ad = sh_audio->ad_driver;
         guiInfo.AudioPassthrough = (gstrcmp(ad->info->short_name, "hwac3") == 0);
 
-        guiInfo.AudioChannels = sh_audio ? sh_audio->channels : 0;
+        guiInfo.AudioChannels = (sh_audio ? sh_audio->channels : 0);
 
         if (guiInfo.AudioPassthrough)
             btnSet(evSetVolume, btnDisabled);