diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-10-04 10:54:21 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-10-04 10:54:21 +0000 |
commit | 225e07fe38ecf4755cdcd38664d82a5611c0b5ac (patch) | |
tree | 8c79d3fab479339de88b0275a386805fee4fa166 /cmd-rename-window.c | |
parent | 19c1e1a800da9bee277f3db619262a0c2ce3fbc7 (diff) | |
download | rtmux-225e07fe38ecf4755cdcd38664d82a5611c0b5ac.tar.gz rtmux-225e07fe38ecf4755cdcd38664d82a5611c0b5ac.tar.bz2 rtmux-225e07fe38ecf4755cdcd38664d82a5611c0b5ac.zip |
Select window command.
Diffstat (limited to 'cmd-rename-window.c')
-rw-r--r-- | cmd-rename-window.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd-rename-window.c b/cmd-rename-window.c index f0262b9c..461bcd9b 100644 --- a/cmd-rename-window.c +++ b/cmd-rename-window.c @@ -1,4 +1,4 @@ -/* $Id: cmd-rename-window.c,v 1.1 2007-10-04 10:39:06 nicm Exp $ */ +/* $Id: cmd-rename-window.c,v 1.2 2007-10-04 10:54:20 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -111,7 +111,7 @@ cmd_rename_window_exec(void *ptr, struct cmd_ctx *ctx) if (data->idx == -1) w = s->window; else if ((w = window_at(&s->windows, data->idx)) == NULL) { - ctx->error(ctx, "no window at index %u", data->idx); + ctx->error(ctx, "no window %u", data->idx); return; } xfree(w->name); |