aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorokan2017-07-14 18:01:46 +0000
committerokan2017-07-14 18:01:46 +0000
commite3b62b1371c27a9550a85b8a06eaa667e3b9b149 (patch)
tree76662d2a6e563987e259aa90724f39ce147f94bc
parentba81f9fd0ec3dc781e00fb08de920e3ccdbc0be5 (diff)
downloadcwm-e3b62b1371c27a9550a85b8a06eaa667e3b9b149.tar.gz
remove extra parentheses
-rw-r--r--kbfunc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/kbfunc.c b/kbfunc.c
index fd993f4..5fa0c88 100644
--- a/kbfunc.c
+++ b/kbfunc.c
@@ -15,7 +15,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $OpenBSD: kbfunc.c,v 1.148 2017/07/14 17:23:38 okan Exp $
+ * $OpenBSD: kbfunc.c,v 1.149 2017/07/14 18:01:46 okan Exp $
*/
#include <sys/types.h>
@@ -90,7 +90,7 @@ kbfunc_ptrmove(void *ctx, struct cargs *cargs)
void
kbfunc_client_move(void *ctx, struct cargs *cargs)
{
- if ((cargs->xev == CWM_XEV_BTN))
+ if (cargs->xev == CWM_XEV_BTN)
kbfunc_client_move_mb(ctx, cargs);
else
kbfunc_client_move_kb(ctx, cargs);
@@ -99,7 +99,7 @@ kbfunc_client_move(void *ctx, struct cargs *cargs)
void
kbfunc_client_resize(void *ctx, struct cargs *cargs)
{
- if ((cargs->xev == CWM_XEV_BTN))
+ if (cargs->xev == CWM_XEV_BTN)
kbfunc_client_resize_mb(ctx, cargs);
else
kbfunc_client_resize_kb(ctx, cargs);