summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorOwain Ainsworth <oga@cvs.openbsd.org>2008-07-18 15:40:53 +0000
committerOwain Ainsworth <oga@cvs.openbsd.org>2008-07-18 15:40:53 +0000
commit362afaa5b56f776d4a82a468b0f1eb89a29d7037 (patch)
tree79c5a4d212d0e87a3c6bc0784d371bc02fa67f15 /app
parent64c6fcb1a4e9a09cc664eda12624b8073c38ecdf (diff)
Put back the initialisation of gc in group_cycle. No cookie for okan.
Reported by Dan Harnett, thanks!
Diffstat (limited to 'app')
-rw-r--r--app/cwm/group.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/cwm/group.c b/app/cwm/group.c
index 1950b0cbb..598bf9489 100644
--- a/app/cwm/group.c
+++ b/app/cwm/group.c
@@ -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.18 2008/07/11 14:21:28 okan Exp $
+ * $Id: group.c,v 1.19 2008/07/18 15:40:52 oga Exp $
*/
#include "headers.h"
@@ -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);