summaryrefslogtreecommitdiffstats
path: root/libvo/x11_common.c
diff options
context:
space:
mode:
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 6fefae61f3..36e3570c6e 100644
--- a/libvo/x11_common.c
+++ b/libvo/x11_common.c
@@ -251,11 +251,11 @@ static int x11_get_property(struct vo_x11_state *x11, Atom type, Atom ** args,
int format;
unsigned long bytesafter;
- return (Success ==
+ return Success ==
XGetWindowProperty(x11->display, x11->rootwin, type, 0, 16384, False,
AnyPropertyType, &type, &format, nitems,
&bytesafter, (unsigned char **) args)
- && *nitems > 0);
+ && *nitems > 0;
}
static int vo_wm_detect(struct vo *vo)
@@ -2093,10 +2093,10 @@ int vo_xv_set_eq(struct vo *vo, uint32_t xv_port, char *name, int value)
(port_value + 100) * (port_max - port_min) / 200 +
port_min;
XvSetPortAttribute(vo->x11->display, xv_port, xv_atom, port_value);
- return (VO_TRUE);
+ return VO_TRUE;
}
}
- return (VO_FALSE);
+ return VO_FALSE;
}
int vo_xv_get_eq(struct vo *vo, uint32_t xv_port, char *name, int *value)
@@ -2159,10 +2159,10 @@ int vo_xv_get_eq(struct vo *vo, 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;
}
/**