I'm an idiot - it is start,len not start,end. Unbreak.

This commit is contained in:
Nicholas Marriott 2008-06-14 18:38:55 +00:00
parent 0f403474aa
commit 0591d9ff12

View File

@ -1,4 +1,4 @@
/* $Id: screen-redraw.c,v 1.6 2008-06-14 16:47:20 nicm Exp $ */
/* $Id: screen-redraw.c,v 1.7 2008-06-14 18:38:55 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -181,12 +181,12 @@ screen_redraw_area(
void
screen_redraw_lines(struct screen_redraw_ctx *ctx, u_int py, u_int ny)
{
screen_redraw_area(ctx, 0, py, screen_size_x(ctx->s), py + ny);
screen_redraw_area(ctx, 0, py, screen_size_x(ctx->s), ny);
}
/* Draw set of columns. */
void
screen_redraw_columns(struct screen_redraw_ctx *ctx, u_int px, u_int nx)
{
screen_redraw_area(ctx, px, 0, px + nx, screen_size_y(ctx->s));
screen_redraw_area(ctx, px, 0, nx, screen_size_y(ctx->s));
}