summary refs log tree commit diff
diff options
context:
space:
mode:
authorokan <okan>2017-07-14 18:01:46 +0000
committerokan <okan>2017-07-14 18:01:46 +0000
commit60ed85c50fc5ab032aab8d44f37b7abc22acf3a0 (patch)
tree1d957d8c893860d84a41111c9321f13f8b14533e
parentc039e7fb8c96fbfbcadade008abbf50af71735c3 (diff)
downloadcwm-60ed85c50fc5ab032aab8d44f37b7abc22acf3a0.tar.gz
cwm-60ed85c50fc5ab032aab8d44f37b7abc22acf3a0.tar.xz
cwm-60ed85c50fc5ab032aab8d44f37b7abc22acf3a0.zip
remove extra parentheses
-rw-r--r--kbfunc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kbfunc.c b/kbfunc.c
index 7dfe25a..ba3b155 100644
--- a/kbfunc.c
+++ b/kbfunc.c
@@ -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);