aboutsummaryrefslogtreecommitdiff
path: root/window-choose.c
diff options
context:
space:
mode:
Diffstat (limited to 'window-choose.c')
-rw-r--r--window-choose.c4
1 files changed, 2 insertions, 2 deletions
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;