summaryrefslogtreecommitdiffstats
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-07-17 07:05:58 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-07-17 07:05:58 +0000
commit216df07688c3811983d4e3430ad59689ebaab889 (patch)
tree002fc3b0f801086f47c3f0d20d56bd8a585f13c8 /tmux.h
parent65deba3a350f760dacdb170fbecfa07edf4e4711 (diff)
A similar for fix for window_choose: don't rely on the callback always being
called to free data, have a separate free callback and call it from the mode cleanup code.
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 1e8e37a3..0720b25b 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1490,7 +1490,7 @@ void window_choose_vadd(
void printflike3 window_choose_add(
struct window_pane *, int, const char *, ...);
void window_choose_ready(struct window_pane *,
- u_int, void (*)(void *, int), void *);
+ u_int, void (*)(void *, int), void (*)(void *), void *);
/* names.c */
void set_window_names(void);