diff options
Diffstat (limited to 'cmd-previous-layout.c')
-rw-r--r-- | cmd-previous-layout.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd-previous-layout.c b/cmd-previous-layout.c index 26435035..1d04c600 100644 --- a/cmd-previous-layout.c +++ b/cmd-previous-layout.c @@ -1,4 +1,4 @@ -/* $Id: cmd-previous-layout.c,v 1.5 2009-11-14 17:56:39 tcunha Exp $ */ +/* $Id: cmd-previous-layout.c,v 1.6 2009-12-04 22:14:47 tcunha Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net> @@ -43,7 +43,7 @@ cmd_previous_layout_exec(struct cmd *self, struct cmd_ctx *ctx) struct cmd_target_data *data = self->data; struct winlink *wl; u_int layout; - + if ((wl = cmd_find_window(ctx, data->target, NULL)) == NULL) return (-1); |