summaryrefslogtreecommitdiffstats
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2011-11-15 23:19:51 +0000
committerNicholas Marriott <nicm@openbsd.org>2011-11-15 23:19:51 +0000
commit57df44291634e1083fccf29ecccc8b1793647e50 (patch)
treec93759746d1f177de3bb0cca0909c6aa984bb81b /tmux.h
parent9f738dd2fe01b5b70c07280450eed32614c561c2 (diff)
Make window_pane_index work the same as window_index, from Ben Boeckel.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tmux.h b/tmux.h
index 87bb6852..74861abb 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1931,7 +1931,7 @@ struct window_pane *window_pane_next_by_number(struct window *,
struct window_pane *, u_int);
struct window_pane *window_pane_previous_by_number(struct window *,
struct window_pane *, u_int);
-u_int window_pane_index(struct window *, struct window_pane *);
+int window_pane_index(struct window_pane *, u_int *);
u_int window_count_panes(struct window *);
void window_destroy_panes(struct window *);
struct window_pane *window_pane_find_by_id(u_int);