Add some const and fix a warning.

This commit is contained in:
Nicholas Marriott
2012-01-20 19:54:07 +00:00
parent 8cf19ab770
commit 8332413305
4 changed files with 7 additions and 6 deletions

View File

@ -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;