diff --git a/libvo/x11_common.c b/libvo/x11_common.c index d2d58b5c12..75ace911e8 100644 --- a/libvo/x11_common.c +++ b/libvo/x11_common.c @@ -1615,7 +1615,7 @@ static int xss_suspend(Bool suspend) 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;