diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-07-17 15:56:46 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-07-17 15:56:46 +0000 |
commit | 770ea563eeaca4307b1fc7d1b15c40d60e84838c (patch) | |
tree | ee4a803731a3f09f68ed1ed8b387516e169753bf /cmd.c | |
parent | 946affe60df03140c13e877bd667999990a2ee7a (diff) | |
download | rtmux-770ea563eeaca4307b1fc7d1b15c40d60e84838c.tar.gz rtmux-770ea563eeaca4307b1fc7d1b15c40d60e84838c.tar.bz2 rtmux-770ea563eeaca4307b1fc7d1b15c40d60e84838c.zip |
Changed the wrong thing here.
Diffstat (limited to 'cmd.c')
-rw-r--r-- | cmd.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: cmd.c,v 1.103 2009-07-15 17:46:09 nicm Exp $ */ +/* $Id: cmd.c,v 1.104 2009-07-17 15:56:46 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -555,7 +555,7 @@ cmd_find_window(struct cmd_ctx *ctx, const char *arg, struct session **sp) */ if ((s = cmd_current_session(ctx)) == NULL) { ctx->error(ctx, "can't establish current session"); - return (-1); + return (NULL); } /* A NULL argument means the current session and window. */ |