diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-12-06 21:42:00 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-12-06 21:42:00 +0000 |
commit | 9a37eb4d94ab26b2d70ead0f75ff90817c274418 (patch) | |
tree | b3fb827b55b5b6eca89d43ac1894e268c22fec3d /key-bindings.c | |
parent | 2013dc42669c62eab0f885b57d5b363ffce203df (diff) |
Bug fix; don't bail except on first line when printing.
Diffstat (limited to 'key-bindings.c')
-rw-r--r-- | key-bindings.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/key-bindings.c b/key-bindings.c index e217d798..8acf71f1 100644 --- a/key-bindings.c +++ b/key-bindings.c @@ -1,4 +1,4 @@ -/* $Id: key-bindings.c,v 1.24 2007-12-06 10:04:42 nicm Exp $ */ +/* $Id: key-bindings.c,v 1.25 2007-12-06 21:42:00 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -165,8 +165,7 @@ key_bindings_print(struct cmd_ctx *ctx, const char *fmt, ...) struct window *w = ctx->session->curw->window; va_list ap; - if (window_set_mode(w, &window_more_mode) != 0) - return; + window_set_mode(w, &window_more_mode); va_start(ap, fmt); window_more_vadd(w, fmt, ap); |