# HG changeset patch # User diego # Date 1213528299 0 # Node ID e8c49e69f46ff4efcc7bf0a7697c695dbbb47f25 # Parent 68b4d137364f78d878d460e9a30be063f59a595c 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 || diff -r 68b4d137364f -r e8c49e69f46f libvo/x11_common.c --- 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;