From 0591d9ff12b29c552f7baf4c199015cfd3cbf8a9 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Sat, 14 Jun 2008 18:38:55 +0000 Subject: [PATCH] I'm an idiot - it is start,len not start,end. Unbreak. --- screen-redraw.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/screen-redraw.c b/screen-redraw.c index 2c44b13d..af1c319f 100644 --- a/screen-redraw.c +++ b/screen-redraw.c @@ -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 @@ -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)); }