diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-10-30 10:59:43 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-10-30 10:59:43 +0000 |
commit | 941eab33e9722b26244e7f344311f065eb28ef44 (patch) | |
tree | 89f908444a5aa7a6181189535d3f08102efaa670 /cmd-rename-window.c | |
parent | ab097f0c0c7cd6d30767fc63d05731197160aeeb (diff) | |
download | rtmux-941eab33e9722b26244e7f344311f065eb28ef44.tar.gz rtmux-941eab33e9722b26244e7f344311f065eb28ef44.tar.bz2 rtmux-941eab33e9722b26244e7f344311f065eb28ef44.zip |
%u -> %d for indexes. Some lint fixes.
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 6a949cc0..3d46bbc2 100644 --- a/cmd-rename-window.c +++ b/cmd-rename-window.c @@ -1,4 +1,4 @@ -/* $Id: cmd-rename-window.c,v 1.9 2007-10-26 16:57:32 nicm Exp $ */ +/* $Id: cmd-rename-window.c,v 1.10 2007-10-30 10:59:43 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -104,7 +104,7 @@ cmd_rename_window_exec(void *ptr, struct cmd_ctx *ctx) if (data->idx == -1) wl = s->curw; else if ((wl = winlink_find_by_index(&s->windows, data->idx)) == NULL) { - ctx->error(ctx, "no window %u", data->idx); + ctx->error(ctx, "no window %d", data->idx); return; } xfree(wl->window->name); |