Mercurial > mplayer.hg
changeset 27029:e8c49e69f46f
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 ||
author | diego |
---|---|
date | Sun, 15 Jun 2008 11:11:39 +0000 |
parents | 68b4d137364f |
children | 345888b380b1 |
files | libvo/x11_common.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/x11_common.c Sun Jun 15 02:41:08 2008 +0000 +++ b/libvo/x11_common.c Sun Jun 15 11:11:39 2008 +0000 @@ -1615,7 +1615,7 @@ if (XScreenSaverQueryExtension(mDisplay, &event, &error) != True || XScreenSaverQueryVersion(mDisplay, &major, &minor) != True) return 0; - if (major < 1 || major == 1 && minor < 1) + if (major < 1 || (major == 1 && minor < 1)) return 0; XScreenSaverSuspend(mDisplay, suspend); return 1;