diff options
author | Matt Turner <mattst88@gmail.com> | 2011-08-01 23:58:14 -0400 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2011-08-01 23:58:14 -0400 |
commit | fa6f24598388ccddfd4b20390dd3158fa8c2f8a6 (patch) | |
tree | 5ecb455c4fded7fa169197efd8356aefef6dc8db /src | |
parent | 85bdcab66a56ca93a7eee0eadf12a90056dfa41d (diff) |
Remove extraneous parentheses.
Signed-off-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/Command.c | 2 | ||||
-rw-r--r-- | src/Paned.c | 2 | ||||
-rw-r--r-- | src/TextPop.c | 2 | ||||
-rw-r--r-- | src/Toggle.c | 4 |
4 files changed, 5 insertions, 5 deletions
diff --git a/src/Command.c b/src/Command.c index 34b2455..d62a909 100644 --- a/src/Command.c +++ b/src/Command.c @@ -590,7 +590,7 @@ Boolean checkRectangular; { Dimension corner_size = 0; - if ( (cbw->command.shape_style == XawShapeRoundedRectangle) ) { + if (cbw->command.shape_style == XawShapeRoundedRectangle) { corner_size = (cbw->core.width < cbw->core.height) ? cbw->core.width : cbw->core.height; corner_size = (int) (corner_size * cbw->command.corner_round) / 100; diff --git a/src/Paned.c b/src/Paned.c index d7ddc7f..361f4df 100644 --- a/src/Paned.c +++ b/src/Paned.c @@ -986,7 +986,7 @@ int loc; * to go beyond the min or max size allowed. */ - if ( (dir == ThisBorderOnly) ) { + if (dir == ThisBorderOnly) { int old_add_size = add_size, old_sub_size; AssignMax(add_size, (int) PaneInfo(pw->paned.whichadd)->min); diff --git a/src/TextPop.c b/src/TextPop.c index bfbcf6b..b1ed6a1 100644 --- a/src/TextPop.c +++ b/src/TextPop.c @@ -977,7 +977,7 @@ Boolean once_only, show_current; if (count != 0) { new_pos = XawTextSearch( tw, dir, &find); - if ( (new_pos == XawTextSearchError) ) { + if (new_pos == XawTextSearchError) { if (count == 0) { char msg[BUFSIZ]; diff --git a/src/Toggle.c b/src/Toggle.c index 90847ea..6e5fb6a 100644 --- a/src/Toggle.c +++ b/src/Toggle.c @@ -556,7 +556,7 @@ XtPointer radio_data; if ( (group = GetRadioGroup(radio_group)) == NULL) { local_tog = (ToggleWidget) radio_group; - if ( (local_tog->toggle.radio_data == radio_data) ) + if (local_tog->toggle.radio_data == radio_data) if (!local_tog->command.set) { ToggleSet((Widget) local_tog, (XEvent *)NULL, (String *)NULL, (Cardinal *)0); Notify((Widget) local_tog, (XEvent *)NULL, (String *)NULL, (Cardinal *)0); @@ -576,7 +576,7 @@ XtPointer radio_data; while ( group != NULL ) { local_tog = (ToggleWidget) group->widget; - if ( (local_tog->toggle.radio_data == radio_data) ) { + if (local_tog->toggle.radio_data == radio_data) { if (!local_tog->command.set) { /* if not already set. */ ToggleSet((Widget) local_tog, (XEvent *)NULL, (String *)NULL, (Cardinal *)0); Notify((Widget) local_tog, (XEvent *)NULL, (String *)NULL, (Cardinal *)0); |