diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-01-17 18:47:37 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-01-17 18:47:37 +0000 |
commit | 0e197b417ae104d1c02139e899af810a867be42f (patch) | |
tree | e72b519925d553c5b79e86e2e172940dc21c7b75 /cmd-choose-session.c | |
parent | ff61eee294124bc83f399e0027de1c9d7a9d9e86 (diff) |
Tidy a few warnings.
Diffstat (limited to 'cmd-choose-session.c')
-rw-r--r-- | cmd-choose-session.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd-choose-session.c b/cmd-choose-session.c index 8c70aa0b..08057d88 100644 --- a/cmd-choose-session.c +++ b/cmd-choose-session.c @@ -1,4 +1,4 @@ -/* $Id: cmd-choose-session.c,v 1.1 2009-01-15 19:27:31 nicm Exp $ */ +/* $Id: cmd-choose-session.c,v 1.2 2009-01-17 18:47:36 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net> @@ -63,7 +63,7 @@ cmd_choose_session_exec(struct cmd *self, struct cmd_ctx *ctx) if (window_pane_set_mode(wl->window->active, &window_choose_mode) != 0) return; - idx = 0; + cur = idx = 0; for (i = 0; i < ARRAY_LENGTH(&sessions); i++) { s = ARRAY_ITEM(&sessions, i); if (s == NULL) |