diff options
author | okan | 2009-05-17 23:37:52 +0000 |
---|---|---|
committer | okan | 2009-05-17 23:37:52 +0000 |
commit | 915104a67e5e6fc2c55c6a44b9360c290ea2e61d (patch) | |
tree | 26274b3ff37e6875f169b22f8fd9238c6c71e135 /group.c | |
parent | aa9e4a24c181c615ae388b97c339cbedd31adf87 (diff) | |
download | cwm-915104a67e5e6fc2c55c6a44b9360c290ea2e61d.tar.gz |
minor bit of knf, just to be consistent; oga@ doesn't mind that much
Diffstat (limited to '')
-rw-r--r-- | group.c | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -16,7 +16,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $Id: group.c,v 1.26 2009/05/17 22:48:47 okan Exp $ + * $Id: group.c,v 1.27 2009/05/17 23:37:52 okan Exp $ */ #include "headers.h" @@ -232,11 +232,10 @@ group_only(int idx) err(1, "group_only: index out of range (%d)", idx); for (i = 0; i < CALMWM_NGROUPS; i++) { - if (i == idx) { + if (i == idx) _group_show(&Groups[i]); - } else { + else _group_hide(&Groups[i]); - } } } |