diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-11-12 23:38:40 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-11-12 23:38:40 +0000 |
commit | 7be7706f4d8598353480e61702728470961666a1 (patch) | |
tree | 2cb0eee7cce12dc56c6bcb24a493e78fe8b1eafd /screen-write.c | |
parent | 4198a9c37630ad3bacafae8f27ff6b272feed0b6 (diff) | |
download | rtmux-7be7706f4d8598353480e61702728470961666a1.tar.gz rtmux-7be7706f4d8598353480e61702728470961666a1.tar.bz2 rtmux-7be7706f4d8598353480e61702728470961666a1.zip |
Ooops. Check the right value.
Diffstat (limited to 'screen-write.c')
-rw-r--r-- | screen-write.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/screen-write.c b/screen-write.c index 41d81967..19f5b9ae 100644 --- a/screen-write.c +++ b/screen-write.c @@ -1,4 +1,4 @@ -/* $Id: screen-write.c,v 1.15 2008-09-26 06:45:26 nicm Exp $ */ +/* $Id: screen-write.c,v 1.16 2008-11-12 23:38:40 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -138,7 +138,7 @@ screen_write_cursorup(struct screen_write_ctx *ctx, u_int ny) s->cy -= ny; - if (ctx != NULL) + if (ctx->write != NULL) ctx->write(ctx->data, TTY_CURSORUP, ny); } |