From 68e370574af6fc8f453a0bf9577adcfdfad9ab62 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Wed, 13 Feb 2013 10:25:37 +0000 Subject: Fix constness of window_choose_add_item and _window. --- window-choose.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'window-choose.c') diff --git a/window-choose.c b/window-choose.c index 0d386fd8..5b11f4b6 100644 --- a/window-choose.c +++ b/window-choose.c @@ -887,7 +887,7 @@ window_choose_add_session(struct window_pane *wp, struct client *c, struct window_choose_data * window_choose_add_item(struct window_pane *wp, struct client *c, - struct winlink *wl, const char *template, char *action, u_int idx) + struct winlink *wl, const char *template, const char *action, u_int idx) { struct window_choose_data *wcd; char *expanded; @@ -918,7 +918,7 @@ window_choose_add_item(struct window_pane *wp, struct client *c, struct window_choose_data * window_choose_add_window(struct window_pane *wp, struct client *c, struct session *s, struct winlink *wl, const char *template, - char *action, u_int idx) + const char *action, u_int idx) { struct window_choose_data *wcd; char *expanded; -- cgit