summaryrefslogtreecommitdiff
path: root/src/Toggle.c
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2011-08-01 23:58:14 -0400
committerMatt Turner <mattst88@gmail.com>2011-08-01 23:58:14 -0400
commitfa6f24598388ccddfd4b20390dd3158fa8c2f8a6 (patch)
tree5ecb455c4fded7fa169197efd8356aefef6dc8db /src/Toggle.c
parent85bdcab66a56ca93a7eee0eadf12a90056dfa41d (diff)
Remove extraneous parentheses.
Signed-off-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'src/Toggle.c')
-rw-r--r--src/Toggle.c4
1 files changed, 2 insertions, 2 deletions
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);