diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2012-01-20 19:54:07 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2012-01-20 19:54:07 +0000 |
commit | 83324133055d9906d99f9709970d0e258ac87f79 (patch) | |
tree | f8b87ae54e906e725b5367f3f933e7e0eb445669 /cmd-split-window.c | |
parent | 8cf19ab770e03f0dccc4731852a23d670b3ebad2 (diff) | |
download | rtmux-83324133055d9906d99f9709970d0e258ac87f79.tar.gz rtmux-83324133055d9906d99f9709970d0e258ac87f79.tar.bz2 rtmux-83324133055d9906d99f9709970d0e258ac87f79.zip |
Add some const and fix a warning.
Diffstat (limited to 'cmd-split-window.c')
-rw-r--r-- | cmd-split-window.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd-split-window.c b/cmd-split-window.c index 7184d964..05de0955 100644 --- a/cmd-split-window.c +++ b/cmd-split-window.c @@ -58,8 +58,8 @@ cmd_split_window_exec(struct cmd *self, struct cmd_ctx *ctx) struct window *w; struct window_pane *wp, *new_wp = NULL; struct environ env; - char *cmd, *cwd, *cause, *new_cause; - const char *shell; + const char *cmd, *cwd, *shell; + char *cause, *new_cause; u_int hlimit, paneidx; int size, percentage; enum layout_type type; |