diff options
author | okan | 2015-08-27 17:43:44 +0000 |
---|---|---|
committer | okan | 2015-08-27 17:43:44 +0000 |
commit | 46cb79168f52da7f4e3aa7c2c1758d4383cc866b (patch) | |
tree | 19353e79276734a4c22713d4fe496f6adb1e7850 | |
parent | 87bcfe8451984d9c17a92519a97638fdcbb2550b (diff) | |
download | cwm-46cb79168f52da7f4e3aa7c2c1758d4383cc866b.tar.gz |
Re-add lost chunk in group_cycle from r1.113.
Diffstat (limited to '')
-rw-r--r-- | group.c | 5 |
1 files changed, 4 insertions, 1 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. * - * $OpenBSD: group.c,v 1.118 2015/08/25 20:35:49 okan Exp $ + * $OpenBSD: group.c,v 1.119 2015/08/27 17:43:44 okan Exp $ */ #include <sys/types.h> @@ -284,6 +284,9 @@ group_cycle(struct screen_ctx *sc, int flags) group_hide(newgc); } + if (showgroup == NULL) + return; + group_hide(oldgc); if (group_holds_only_hidden(showgroup)) |