mirror of
https://github.com/tmux/tmux.git
synced 2025-01-12 03:08:46 +00:00
Ooops. Check the right value.
This commit is contained in:
parent
4198a9c376
commit
7be7706f4d
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user