Add parentheses to expression to avoid the warning:

libvo/x11_common.c: In function 'xss_suspend':
libvo/x11_common.c:1618: warning: suggest parentheses around && within ||


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27061 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2008-06-15 11:11:39 +00:00
parent 9b5ec0b047
commit f7867644cb
1 changed files with 1 additions and 1 deletions

View File

@ -1615,7 +1615,7 @@ static int xss_suspend(Bool suspend)
if (XScreenSaverQueryExtension(mDisplay, &event, &error) != True || if (XScreenSaverQueryExtension(mDisplay, &event, &error) != True ||
XScreenSaverQueryVersion(mDisplay, &major, &minor) != True) XScreenSaverQueryVersion(mDisplay, &major, &minor) != True)
return 0; return 0;
if (major < 1 || major == 1 && minor < 1) if (major < 1 || (major == 1 && minor < 1))
return 0; return 0;
XScreenSaverSuspend(mDisplay, suspend); XScreenSaverSuspend(mDisplay, suspend);
return 1; return 1;