diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2011-11-15 23:19:51 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2011-11-15 23:19:51 +0000 |
commit | 57df44291634e1083fccf29ecccc8b1793647e50 (patch) | |
tree | c93759746d1f177de3bb0cca0909c6aa984bb81b /tmux.h | |
parent | 9f738dd2fe01b5b70c07280450eed32614c561c2 (diff) | |
download | rtmux-57df44291634e1083fccf29ecccc8b1793647e50.tar.gz rtmux-57df44291634e1083fccf29ecccc8b1793647e50.tar.bz2 rtmux-57df44291634e1083fccf29ecccc8b1793647e50.zip |
Make window_pane_index work the same as window_index, from Ben Boeckel.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |