diff options
Diffstat (limited to 'group.c')
-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)) |