From 556f7a08715aac4229db4d4d5a350a40fef3f95c Mon Sep 17 00:00:00 2001 From: oga Date: Fri, 18 Jul 2008 15:40:52 +0000 Subject: [PATCH] Put back the initialisation of gc in group_cycle. No cookie for okan. Reported by Dan Harnett, thanks! --- group.c | 1 + 1 file changed, 1 insertion(+) diff --git a/group.c b/group.c index c44b80f..2b02b66 100644 --- a/group.c +++ b/group.c @@ -207,6 +207,7 @@ group_cycle(int reverse) assert(Group_active != NULL); + gc = Group_active; for (;;) { gc = reverse ? TAILQ_PREV(gc, group_ctx_q, entry) : TAILQ_NEXT(gc, entry);