=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/Attic/cmd-send-prefix.c,v retrieving revision 1.4 retrieving revision 1.5 diff -c -r1.4 -r1.5 *** src/usr.bin/tmux/Attic/cmd-send-prefix.c 2009/08/18 16:21:04 1.4 --- src/usr.bin/tmux/Attic/cmd-send-prefix.c 2009/09/22 12:38:10 1.5 *************** *** 1,4 **** ! /* $OpenBSD: cmd-send-prefix.c,v 1.4 2009/08/18 16:21:04 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: cmd-send-prefix.c,v 1.5 2009/09/22 12:38:10 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott *************** *** 43,55 **** struct cmd_target_data *data = self->data; struct session *s; struct window_pane *wp; ! int key; if (cmd_find_pane(ctx, data->target, &s, &wp) == NULL) return (-1); ! key = options_get_number(&s->options, "prefix"); ! window_pane_key(wp, ctx->curclient, key); return (0); } --- 43,55 ---- struct cmd_target_data *data = self->data; struct session *s; struct window_pane *wp; ! struct keylist *keylist; if (cmd_find_pane(ctx, data->target, &s, &wp) == NULL) return (-1); ! keylist = options_get_data(&s->options, "prefix"); ! window_pane_key(wp, ctx->curclient, ARRAY_FIRST(keylist)); return (0); }