diff options
author | Yaakov Selkowitz <yselkowitz@users.sourceforge.net> | 2011-08-26 01:46:57 -0500 |
---|---|---|
committer | Yaakov Selkowitz <yselkowitz@users.sourceforge.net> | 2011-08-26 17:31:58 -0500 |
commit | fe2d2e640bf7a196fd1fe1f2efb7d4ba6382ce4f (patch) | |
tree | cb4061961e4785ce16720d360233a9ed24c34ab5 /src/Toggle.c | |
parent | 42123013118c42f40873b1b8785c7e5ce2734965 (diff) |
Fix ambiguous 'else' warnings
Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src/Toggle.c')
-rw-r--r-- | src/Toggle.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Toggle.c b/src/Toggle.c index 26c3573..6392e18 100644 --- a/src/Toggle.c +++ b/src/Toggle.c @@ -492,10 +492,11 @@ XawToggleChangeRadioGroup(Widget w, Widget radio_group) if ( tw->command.set && radio_group != NULL ) XawToggleUnsetCurrent(radio_group); - if (radio_group != NULL) + if (radio_group != NULL) { if ((group = GetRadioGroup(radio_group)) == NULL) CreateRadioGroup(w, radio_group); else AddToRadioGroup(group, w); + } } /* Function Name: XawToggleGetCurrent |