From 9ec457575d0db6450d8a436426b4a705c49285aa Mon Sep 17 00:00:00 2001 From: Tiago Cunha Date: Fri, 25 Nov 2011 13:30:45 +0000 Subject: Sync OpenBSD patchset 979: Make window_pane_index work the same as window_index, from Ben Boeckel. --- tmux.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tmux.h') diff --git a/tmux.h b/tmux.h index 08650d51..be8f296c 100644 --- a/tmux.h +++ b/tmux.h @@ -1927,7 +1927,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); -- cgit