summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2012-04-01 13:27:19 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2012-04-01 13:27:19 +0000
commitc1eda616a061fe74600e735e412b5ed99acf3aaf (patch)
tree62dc18286dd8e04e641a65b0f87719a23b38c57f
parent3c855a8b8b28d1256be6bce5a12e0c118733009e (diff)
Turn some errors down to info.
-rw-r--r--usr.bin/tmux/cmd-select-layout.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/tmux/cmd-select-layout.c b/usr.bin/tmux/cmd-select-layout.c
index 722ef3ec825..fe3ed6849c5 100644
--- a/usr.bin/tmux/cmd-select-layout.c
+++ b/usr.bin/tmux/cmd-select-layout.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd-select-layout.c,v 1.14 2012/04/01 13:18:38 nicm Exp $ */
+/* $OpenBSD: cmd-select-layout.c,v 1.15 2012/04/01 13:27:18 nicm Exp $ */
/*
* Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -113,13 +113,13 @@ cmd_select_layout_exec(struct cmd *self, struct cmd_ctx *ctx)
layout_list_add(w);
if (args_has(self->args, 'U')) {
if ((layoutname = layout_list_redo(w)) == NULL) {
- ctx->error(ctx, "no more layout history");
+ ctx->info(ctx, "no more layout history");
return (-1);
}
goto set_layout;
} else if (args_has(self->args, 'u')) {
if ((layoutname = layout_list_undo(w)) == NULL) {
- ctx->error(ctx, "no more layout history");
+ ctx->info(ctx, "no more layout history");
return (-1);
}
goto set_layout;