From 1c8b4d5c3d9836427c98c5ac2fa7676dfdf70758 Mon Sep 17 00:00:00 2001 From: Vincent Torri Date: Wed, 7 Dec 2011 20:34:45 +0000 Subject: [PATCH] E: remove extraneous parentheses SVN revision: 65994 --- src/bin/e_alert_main.c | 6 +++--- src/bin/e_bindings.c | 2 +- src/bin/e_editable.c | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/bin/e_alert_main.c b/src/bin/e_alert_main.c index dfe392d0d..e345fdda2 100644 --- a/src/bin/e_alert_main.c +++ b/src/bin/e_alert_main.c @@ -64,11 +64,11 @@ main(int argc, char **argv) "do not use it.\n"); exit(0); } - else if ((i == 1)) + else if (i == 1) sig = atoi(argv[i]); // signal - else if ((i == 2)) + else if (i == 2) pid = atoi(argv[i]); // E's pid - else if ((i == 3)) + else if (i == 3) comp_win = atoi(argv[i]); // Composite Alert Window } diff --git a/src/bin/e_bindings.c b/src/bin/e_bindings.c index 27f0dcc85..2c084f047 100644 --- a/src/bin/e_bindings.c +++ b/src/bin/e_bindings.c @@ -559,7 +559,7 @@ e_bindings_edge_del(E_Binding_Context ctxt, E_Zone_Edge edge, E_Binding_Modifier EINA_LIST_FOREACH(edge_bindings, l, bind) { - if ((bind->edge == edge)) + if (bind->edge == edge) { if ((bind->ctxt == ctxt) && (bind->mod == mod) && diff --git a/src/bin/e_editable.c b/src/bin/e_editable.c index 3299551e7..d25a9231e 100644 --- a/src/bin/e_editable.c +++ b/src/bin/e_editable.c @@ -377,7 +377,7 @@ e_editable_cursor_pos_set(Evas_Object *editable, int pos) return; pos = E_CLAMP(pos, 0, sd->unicode_length); - if ((sd->cursor_pos == pos)) return; + if (sd->cursor_pos == pos) return; sd->cursor_pos = pos; _e_editable_cursor_update(editable);