aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoroga2008-07-18 15:40:52 +0000
committeroga2008-07-18 15:40:52 +0000
commit7e61c25d282485813f1e8159fc74ad680ea85e11 (patch)
tree1f3c083721d5c33bdcef46aa5c1e1bc6f4a927a8
parent1d49f9055c70bc386f7997ef9c5cc0147544c538 (diff)
downloadcwm-7e61c25d282485813f1e8159fc74ad680ea85e11.tar.gz
Put back the initialisation of gc in group_cycle. No cookie for okan.
Reported by Dan Harnett, thanks!
-rw-r--r--group.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/group.c b/group.c
index 1950b0c..598bf94 100644
--- a/group.c
+++ b/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);