aboutsummaryrefslogtreecommitdiff
path: root/window-choose.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2013-02-13 10:25:37 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2013-02-13 10:25:37 +0000
commit68e370574af6fc8f453a0bf9577adcfdfad9ab62 (patch)
tree50dfae682e9d5a9bf05907c05abcd491d0c70d76 /window-choose.c
parent544c80d71534adc8f2d3843d06b01655dc02f1a9 (diff)
downloadrtmux-68e370574af6fc8f453a0bf9577adcfdfad9ab62.tar.gz
rtmux-68e370574af6fc8f453a0bf9577adcfdfad9ab62.tar.bz2
rtmux-68e370574af6fc8f453a0bf9577adcfdfad9ab62.zip
Fix constness of window_choose_add_item and _window.
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;