summaryrefslogtreecommitdiffstats
path: root/libvo/x11_common.c
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-05-16 08:33:27 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-05-16 08:33:27 +0000
commitad603f5559ce649c6d06d746a7d361d2d0188ad4 (patch)
tree7254f7dba87b2e215a5c42e5c7e668c60f190e2b /libvo/x11_common.c
parentc1f5c9bd3fa0b963e1d5d938fc9ffc3fc074e071 (diff)
downloadmpv-ad603f5559ce649c6d06d746a7d361d2d0188ad4.tar.bz2
mpv-ad603f5559ce649c6d06d746a7d361d2d0188ad4.tar.xz
cosmetics: Remove useless parentheses from from return statements.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26787 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/x11_common.c')
-rw-r--r--libvo/x11_common.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libvo/x11_common.c b/libvo/x11_common.c
index 2ed8ff31c6..d2d58b5c12 100644
--- a/libvo/x11_common.c
+++ b/libvo/x11_common.c
@@ -279,11 +279,11 @@ static int x11_get_property(Atom type, Atom ** args, unsigned long *nitems)
int format;
unsigned long bytesafter;
- return (Success ==
+ return Success ==
XGetWindowProperty(mDisplay, mRootWin, type, 0, 16384, False,
AnyPropertyType, &type, &format, nitems,
&bytesafter, (unsigned char **) args)
- && *nitems > 0);
+ && *nitems > 0;
}
static int vo_wm_detect(void)
@@ -2102,10 +2102,10 @@ int vo_xv_set_eq(uint32_t xv_port, char *name, int value)
(port_value + 100) * (port_max - port_min) / 200 +
port_min;
XvSetPortAttribute(mDisplay, xv_port, xv_atom, port_value);
- return (VO_TRUE);
+ return VO_TRUE;
}
}
- return (VO_FALSE);
+ return VO_FALSE;
}
int vo_xv_get_eq(uint32_t xv_port, char *name, int *value)
@@ -2168,10 +2168,10 @@ int vo_xv_get_eq(uint32_t xv_port, char *name, int *value)
mp_dbg(MSGT_VO, MSGL_V, "xv_get_eq called! (%s, %d)\n",
name, *value);
- return (VO_TRUE);
+ return VO_TRUE;
}
}
- return (VO_FALSE);
+ return VO_FALSE;
}
/** \brief contains flags changing the execution of the colorkeying code */