=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/key-bindings.c,v retrieving revision 1.8 retrieving revision 1.9 diff -c -r1.8 -r1.9 *** src/usr.bin/tmux/key-bindings.c 2009/07/24 14:52:47 1.8 --- src/usr.bin/tmux/key-bindings.c 2009/08/23 16:45:00 1.9 *************** *** 1,4 **** ! /* $OpenBSD: key-bindings.c,v 1.8 2009/07/24 14:52:47 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: key-bindings.c,v 1.9 2009/08/23 16:45:00 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott *************** *** 218,224 **** void printflike2 key_bindings_print(struct cmd_ctx *ctx, const char *fmt, ...) { ! struct winlink *wl = ctx->cursession->curw; va_list ap; if (wl->window->active->mode != &window_more_mode) --- 218,224 ---- void printflike2 key_bindings_print(struct cmd_ctx *ctx, const char *fmt, ...) { ! struct winlink *wl = ctx->curclient->session->curw; va_list ap; if (wl->window->active->mode != &window_more_mode) *************** *** 254,260 **** struct cmd_ctx ctx; ctx.msgdata = NULL; - ctx.cursession = c->session; ctx.curclient = c; ctx.error = key_bindings_error; --- 254,259 ----